Skip to content
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

Shapefile metadata business metadata (eg. contacts) are overwriten when uploaded through API #11444

Open
eblondel opened this issue Sep 5, 2023 · 1 comment

Comments

@eblondel
Copy link

eblondel commented Sep 5, 2023

Expected Behavior

A shapefile + its ISO 19115/19139 XML metadata uploaded through the web API, with key business metadata, in particular contacts. GeoNode should not overwrite metadata information when provided in the source metadata. This is particularly true for contacts and any other responsible party associated in the metadata, where GeoNode overwrites this information with the information from the GeoNode user. This assumption considers that the GeoNode user that uploads metadata is the focal point for the dataset, and in many cases this is not true and data/metadata are uploaded/maintained by custodian, but are not involved directly in the dataset as originator, owner, focal point or any other active role on the dataset..

Relates and extends issue reported at #10902 (specific the metadata identifier that is overwriten during the upload).

Actual Behavior

Business metadata information (such as contacts/responsible parties, and possibly others) are not kept during uploaded and overwriten using the Geonode user information (only the email by default).

Steps to Reproduce the Problem

  1. Get this shapefile (and associated ISO 19115 XML): https://github.com/eblondel/geonode4R/tree/main/inst/extdata/samples
  2. Try to upload it with the API

The integration test here (R language) reproduces the full test: https://github.com/eblondel/geonode4R/blob/main/tests/testthat/test_uploads.R

Specifications

https://development.demo.geonode.org
https://master.demo.geonode.org

cc @kikislater @juldebar

@gannebamm
Copy link
Contributor

Currently, the contact roles in GeoNode are limited. We also have data which we get delivered by other research institutes and we are only the data custodian. This issue is linked to #10342 and #10290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants