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

Metadata title (possibly others) was not updated on geoserver, after saved on geonode's metadata editor #12214

Open
cmotadev opened this issue May 10, 2024 · 0 comments

Comments

@cmotadev
Copy link

Expected Behavior

Upload a dataset to geonode and change its title from file_name to Dataset Title.
Geoserver automatically updates the layer created by geonode to reflect the title update, changing its title from file_name to Dataset Title

Actual Behavior

Geoserver Layer metadata is not automatically updated and keeps the title from the original upload: file_name

Steps to Reproduce the Problem

1 - Upload a dataset in Geonode using "Add Resource"
2 - Edit dataset Metadata > change title from file_name to Dataset Title
3 - Access the layer inside Geoserver and check its metadata. It is still the original file_name

Specifications

GeoNode version: 4.2.3
GeoServer version: 2.24.2
Installation type (vanilla, geonode-project): tested on vanilla and geonode-project
Installation method (manual, docker): docker
Platform: Ubuntu 22.04
Additional details:

Reading geoserver logs (with output of requests and payloads), it seems that the problem is in a PUT request being sent to Geoserver API using an incorrect model.
The [API expects a FeatureTypeInfo] (https://docs.geoserver.org/latest/en/api/#1.0.0/featuretypes.yaml) and a FeatureType is sent.

this bug were found by @davicustodio , @pietrolabacm and me, into different instances
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

1 participant