noi-techpark / it.bz.opendatahub.databrowser

Explore and navigate through Open Data you need to build your next service.
https://databrowser.opendatahub.com
GNU Affero General Public License v3.0
8 stars 7 forks source link

GPS map: data for GPS point is not reset when changes are canceled #515

Closed gappc closed 5 months ago

gappc commented 5 months ago

When editing GPS point data, changes are not reset when clicking on the "Cancel" button, although the data seems to be reset correctly (see screenshot below).

This problem effects the inputs as well as the location on the map.

Steps to reproduce:

=> it is expected, that the changes are canceled and the original data is restored. Therefor, it is expected, that the latitude is restored and the position icon on the map is moved, too. This does not happen, although the data seems to be reset correctly (take a look at the JSON DIFF tool in the toolbox on the right).

Note that the underlying implementation (EditListCell.vue and related components) seems to work fine, because trying to reset image data works as expected (e.g. here: https://databrowser.opendatahub.testingmachine.eu/dataset/edit/tourism/v1/Accommodation/5CEA544EE34639034F07B79D4AEEB603#images)

image