geonode icon indicating copy to clipboard operation
geonode copied to clipboard

typename field in advanced metadata form should be read-only or excluded

Open fvicent opened this issue 1 year ago • 0 comments

The advanced metadata form has a field to edit the typename of a layer:

imagen

However, the submitted value always gets reverted by a post_save signal:

https://github.com/GeoNode/geonode/blob/96566be47c75b6932e36bb565b33ae97ddc39d93/geonode/geoserver/helpers.py#L2171

Thus that field is not actually editable. If this is to be expected, it would be reasonable to make the textinput read-only.

fvicent avatar Sep 15 '23 20:09 fvicent