Project

General

Profile

Feature #1736

Keep form map data after failed backend validation

Added by Alexander Watzinger 6 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
2022-06-08
Estimated time:

Description

In some cases part of entered information gets lost when the backend validation fails. We should look into this to prevent accidentally data loss.

Update
After the form rewrite that problem now only occurs with inserted map data when validation fails, e.g. using an invalid Wikidata identifier at https://demo.openatlas.eu/insert/place


Related issues

Related to OpenAtlas - Bug #1723: Information gets deleted from mapClosed2022-05-20Actions

History

#1

Updated by Alexander Watzinger 6 months ago

  • Related to Bug #1723: Information gets deleted from map added
#2

Updated by Alexander Watzinger 6 months ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to Bernhard Koschiček-Krombholz

Thanks Bernhard for looking into this. You can test it e.g. at place, if you enter a wrong Wikidata id format it passes the frontend JavaScript validation but not the backend validation, is then reloaded but newly added map features disappear and aren't saved (although the values still seems to be present in the hidden fields).

#3

Updated by Alexander Watzinger 4 months ago

  • Subject changed from Keep form data after failed backend validation to Keep form map data after failed backend validation
  • Description updated (diff)
#4

Updated by Alexander Watzinger 4 months ago

  • Target version changed from 7.5.0 to 7.7.0
#5

Updated by Bernhard Koschiček-Krombholz about 2 months ago

  • Assignee changed from Bernhard Koschiček-Krombholz to Andreas Olschnögger
#6

Updated by Andreas Olschnögger about 2 months ago

  • Status changed from Assigned to Closed

Map data is no longer lost after a failed backend validation

Also available in: Atom PDF