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

Suppress 404s on call to publish_featuretype #40

Open
andyphenix opened this issue Aug 9, 2023 · 0 comments
Open

Suppress 404s on call to publish_featuretype #40

andyphenix opened this issue Aug 9, 2023 · 0 comments

Comments

@andyphenix
Copy link

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?

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