Description
Regressions
Improvements
-
Cannot save or preview metadata after setting preserve metadata #11468
-
Allow the metadata editing when uploaded metadata is preserved #11466
The whole concept of "preserving uploaded metadata" is confusing as per Errors in metadata upload #11448 and current behaviour: when "Metadata uploaded preserve" is selected, an error is issued when the "update" button is pressed (or when it is automatically triggered, see Errors in metadata upload #11448).The proposal is to clearly state that the preservation is only related to the uploaded XML document; this means that:
- the metadata editing should still be possibile, since in the metadata editor there are some fields that can not be set using the values from the uploaded document
- when saving data from the metadata form, the new values should only be stored in the DB, but the XML document should not be regenerated. This could cause a misaligment between the DB fields (which are used in the CSW filtering) and the returned XML, but this change is up to the editor user, which should be notified of the "preserve" flag when saving metadata -- at the moment an error is always returned (and it's badly handled, see Errors in metadata upload #11448).
-
Implement metadata preservation at creation time #11464
When the new importer was implemented, some configuration pages presented during the uploading stages were removed.
In one of these pages the user was asked if the uploaded metadata (if any) should be preserved.
Now, if the user wants the metadata to be preserved, the user needs to go through these steps (some of which are at the moment broken)- upload the data and metadata (to have some fields automatically populated)
- go in the "edit metadata page" and tell geonode we want to preserve the metadata
- upload the metadata again
The proposal is to
-
Fix label for Metadata upload preserve #11465
- "Metadata uploaded preserve" should be "Preserve uploaded metadata".