• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GrottoCenter / grottocenter-api / 25196912758
86%
develop: 87%

Build:
Build:
LAST BUILD BRANCH: feature/fix-sort-relevance
DEFAULT BRANCH: develop
Ran 02 May 2026 04:53PM UTC
Jobs 1
Files 382
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 May 2026 12:52AM UTC coverage: 86.372% (+0.05%) from 86.326%
25196912758

Pull #1542

github

ClemRz
fix(organization): coerce empty-string coordinates to null before DB update

Empty latitude/longitude strings from the frontend caused a PostgreSQL
22P02 error (invalid input syntax for type numeric) on PUT
/api/v1/organizations/:id.

Add coerceToNumeric utility (mirrors coerceToInt) that converts empty
and whitespace-only strings to null. Apply it in
GrottoService.getConvertedDataFromClientRequest, GrottoService.createGrotto,
CaveService.getConvertedDataFromClient, and the cave update controller.

Remove the ad-hoc delete-on-empty-string hack from createGrotto.
Pull Request #1542: fix(organization): coerce empty-string coordinates to null

2955 of 3568 branches covered (82.82%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 4 files covered. (100.0%)

6159 of 6984 relevant lines covered (88.19%)

51.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25196912758.1 02 May 2026 04:53PM UTC 382
86.37
GitHub Action Run
Source Files on build 25196912758
  • Tree
  • List 382
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25196912758
  • Pull Request #1542
  • PR Base - develop (#25185951719)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc