[Geoserver-devel] [JIRA] (GEOS-7839) Modifying CatalogInfo objects with the REST API makes them permanently unusable

Torben Barsballe created an issue

GeoServer / BugGEOS-7839

Modifying CatalogInfo objects with the REST API makes them permanently unusable

Issue Type:

BugBug

Assignee:

Unassigned

Created:

07/Nov/16 9:51 PM

Environment:

If you use the REST API to modify a LayerInfo object, subsequent request (get, modify, delete, etc.) will fail, with the error

No property null found on entity class com.sun.proxy.$Proxy171 to bind constructor parameter to!

This occurs because the AttributionInfo property of the LayerInfo object is wrapped in a proxy when it gets saved to Redis after the layer is modified.
This error occurs even if you don’t modify the AttributionInfo.

While I have not tested, I assume this also affects other CatalogInfo objects that have info objects as properties, such as LayerGroupInfo or StyleInfo.

Priority:

MediumMedium

Reporter:

Torben Barsballe

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.499.4#100018-sha1:b6a952e)

Atlassian logo