Doing a REST PUT to the featuretypes endpoint will disablethe featuretype
and all associated layers if the enabled flag is not set in the request.
This breaks the intended functionality of PUT.

See https://osgeo-org.atlassian.net/browse/GEOS-7453 for more details on
the issue.

I have a few questions about this issue:
a) is it already known? I was not able to find anything in JIRA or the
docs, but it seems like the sort of thing that should have come up before.
b) There is a simple fix - change all boolean primitives to Boolean objects
in any REST-accessible catalog objects. However, this is API-breaking and
could have unforseen consequences. Is such a fix viable?

I would also like to note that this issue probably affects any
REST-accessible catalog object that uses primitive values.

Torben
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to