-
Notifications
You must be signed in to change notification settings - Fork 17
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
(Upstream ?) Bug When Upload a Metadata File for A LayThere are some updates happening in different project. We need to make ser #251
Comments
The ability to upload standalone metadata arrived in 2.6 (I guess mainly to reference remote data sources). But I would expect if you upload a new metadata document as an update to existing metadata that it would replace the existing record and remain associated with the same layer. If it's not doing that I think it's an upstream bug. |
@ismailsunni yes I have experienced this behavior. but with GeoServer, it actually uploads the xml and correctly associates it with the layer. The metadata uploaded this way cannot be edited |
@NyakudyaA please test again and comment or close |
Yes this error still exists. We need to fix this. |
we need to make sure this works with QGIS server backend to support #143, asap |
@gubuntu I read through the code. It doesn't seem upstream code properly handles this or it maybe too deep
Doesn't work, the metadata document needs an identifier to properly specify which layer it belongs to in GeoNode
Doesn't work, the xml can't be parsed. Probably because of some string in the Links reference.
I look at file_upload code, there is no reference that the new metadata info (it was successfully read), being used to update the information for the layer. I think GeoServer uses a different mechanism to update it. We might need to patch this on upstream. |
This sounds like another component of GeoNode that needs to be abstracted and decoupled from Geoserver so it is back-end agnostic. @lucernae what do you think is the simplest thing we can do to get metadata upload and replace working, even if it is an upstream patch?
|
@lucernae hose does kartoza/geosafe#378 affect this? |
While investigating on #143 I found this weird behaviour, here the steps that I took:
I expect, the new metadata will replace the old one. But, it create new layer instead, with xml file only.
It's possible that this bug is upstream bug, but I don't have any geonode with geoserver instance to test.
Have you ever experience this thing @NyakudyaA @gubuntu @lucernae
child of #457
The text was updated successfully, but these errors were encountered: