rdmorganiser / rdmo

A tool to support the planning, implementation, and organization of research data management.
https://rdmorganiser.github.io
Apache License 2.0
103 stars 49 forks source link

[Bug] Update catalog with empty text #371

Closed jmfrenzel closed 3 years ago

jmfrenzel commented 3 years ago

Updating an existing catalog with an empty help text field will not remove existing text in that entry

Steps to reproduce

  1. Import an catalog from an xml file into rdmo
  2. Edit the same catalog file which outside of rdmo (with a text editor) and replace the content of a help text entry <help lang="de">Lorem ...</help> with an empty <help lang="de"/> or <help lang="de"></help>
  3. Import the edited (with empty entry) catalog file
  4. Select the catalog in the management UI and brows to the field which was replaced with an empty entry
  5. Find the field containing the old content
jochenklar commented 3 years ago

Fixed.