USGS-WiM / STNServices2

Web services for the Short-Term Network (STN) database
Other
0 stars 0 forks source link

creating a sensor issues #128

Open troddick opened 6 years ago

troddick commented 6 years ago

When a user in the client app tries to deploy a sensor, the services first check to see if a sensor with all the matching properties exist already, and if so, it returns the already existing sensor. The next step is a sensor status is created. This issue leads to multiple deployed statuses being created on the same sensor.

image

image

Maybe we need to instead of returning an existing sensor, return an error or warning stating that a sensor already exists so that this doesn't happen.