Project

General

Profile

Actions

Feature #1736

closed

Keep form map data after failed backend validation

Added by Alexander Watzinger almost 2 years ago. Updated over 1 year 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 1 (0 open1 closed)

Related to OpenAtlas - Bug #1723: Information gets deleted from mapClosedAndreas Olschnögger2022-05-20Actions
Actions #1

Updated by Alexander Watzinger almost 2 years ago

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

Updated by Alexander Watzinger almost 2 years 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).

Actions #3

Updated by Alexander Watzinger over 1 year ago

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

Updated by Alexander Watzinger over 1 year ago

  • Target version changed from 7.5.0 to 7.7.0
Actions #5

Updated by Bernhard Koschiček-Krombholz over 1 year ago

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

Updated by Andreas Olschnögger over 1 year ago

  • Status changed from Assigned to Closed

Map data is no longer lost after a failed backend validation

Actions

Also available in: Atom PDF