geoserver-restconfig icon indicating copy to clipboard operation
geoserver-restconfig copied to clipboard

Suppress 404s on call to publish_featuretype

Open andyphenix opened this issue 2 years ago • 0 comments

Calls to publish_featuretype result in 404 exceptions in the REST API; code review suggests GETs are triggered by the serialization of the post data payload --> data=feature_type.message() ... to populate the various FeatureType attributes marked as an xml_property.

org.geoserver.rest.ResourceNotFoundException 404 NOT_FOUND: No such feature type ...

The publish call is successful & the feature type gets created OK (200 for the resulting POST) but the 404 exceptions are untidy in the server logs.

Is it possible to suppress these either thru creation of some other resource in advance, or by somehow setting the quietOnNotFound parameter exposed by the REST interface?

andyphenix avatar Aug 09 '23 13:08 andyphenix