-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reimplement "preserve uploaded metadata" logic #11463
Comments
Does the proposal prevent users from changing metadata if the original metadata was uploaded and preserved? IMHO, the whole feature only makes sense if the metadata document could be used completely. One example is #10342 as part of the contacts. However there are other fields from ISO which are not yet recognized and properly understood in the upload process. I think an upload metadata feature with preservation will confuse users if the GeoNode metadata will diverge from the metadata used in the upload. |
Part of the proposal is about to only notify the user when editing metadata when the uploaded metadata document is marked as preserved. We should allow saving the updated info, probably asking for a confirmation. |
The way this should be implemented is with a cog icon as previously proposed for the implementation of more upload options.
|
This feature is still confusing to me. AFAI understand it possibly leads to two diverging 'truths' about the dataset's metadata. I do not understand the business/use case of this functionality. Therefore we do not use it. |
@gannebamm it seems, that the feature by-passes the CSW xml generation: geonode/geonode/catalogue/models.py Lines 83 to 94 in 9e39774
But I may be wrong here |
@gannebamm correct, that's what happens. There are clients that prepare metadata with external editors and they just want to attach the external XML file to a GeoNode resource and have it back on download unaltered. Of course this will create divergent because:
There isn't an easy solution of course. Even if the parser was extended there are field values that can hardly be mapped to the DB, in particular related fields that reference GeoNode users, etc. |
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:
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)
The proposal is to
e.g.
Fix label for Metadata upload preserve #11465
The text was updated successfully, but these errors were encountered: