CUAHSI / CUAHSI/HydroServerLite
WaterML Web Service - incorrect Lab Sample Code
- Dominant language
- PHP
- Stars
- 7
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
jirikadlec2[CodePlex]
Reported by Chad Sebranek:
There is a very small issue in hydroserver_helper.php: in db_GetSampleByID, the variable quotciquot is undefined... I believe it should be $ci = ampget_instance();
and I don't believe the field quotLabCodequot exists in the samples table (line 1545 for me).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in hydroserver_helper.php at db_GetSampleByID, around the reported line 1545, and inspect the samples table fields. Verify the undefined variable and whether LabCode exists; the work is done when the function uses defined data and returns valid sample information without referring to a missing field.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100