mozilla-sensorweb / sensorthings

Node implementation of the OGC SensorThings API
Mozilla Public License 2.0
14 stars 9 forks source link

Linked HistoricalLocations to a Thing should be removed when a Thing is deleted #192

Closed albertopq closed 7 years ago

albertopq commented 7 years ago

According to the compliance tests [1], it seems that, when deleting a Thing, is expecting all HistoricalLocations related to it to be removed as well. I don't see that constraint in table 25 [2].

@ferjm what do you think?

[1] https://github.com/opengeospatial/ets-sta10/blob/master/src/main/java/org/opengis/cite/sta10/createUpdateDelete/Capability2Tests.java#L1026 [2] http://docs.opengeospatial.org/is/15-078r6/15-078r6.html#table_25

ferjm commented 7 years ago

It looks like a bug in the spec. It makes sense to delete HistoricalLocations associated to a Thing being deleted. Could you file a bug in the spec, please?

albertopq commented 7 years ago

https://github.com/opengeospatial/sensorthings/issues/17