In case an error message is shown when trying to save a Promptset, the Promptset object will be empty even if 'Discard&Close' is chosen on closure of the object.
Steps to reproduce (incl. expected/documented vs. actual behavior)
- create a new Promptset object
- add any element to the prompset
- save, close and open again to proof that saving the object sis workaround
- create a Text-Field and enter '[^[A-Z]]+' into the Regular Expression field
- save
- an error message will show up:
Laufzeitfehler in Objekt 'FRAGMENT_PROMPTSETXUI(SET)', Zeile '00018': DS-Rückgabewert: '0001001908': 'U01001908 Zeile '1': Attribut ''regex'' : Schließendes Anführungszeichen erwartet', Fehlerposition in UCDSFUN: 'DS_CDATA2XML4'.
- close the promtptset-object - on check-back choose 'Discard & Save'
- open the promptset
==> The entire promptset is empty. Expectation would be that, at least, the previous content is there