We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Seen on geoserver-manager 1.7.0.
The GeoServerRESTReader#existsLayer(String workspace, String name) method seems to be erroneously implemented since it calls: GeoServerRESTReader#existsLayerGroup(String workspace, String name, boolean quietOnNotFound) instead of: GeoServerRESTReader#existsLayer(String workspace, String name, boolean quietOnNotFound)
GeoServerRESTReader#existsLayer(String workspace, String name)
GeoServerRESTReader#existsLayerGroup(String workspace, String name, boolean quietOnNotFound)
GeoServerRESTReader#existsLayer(String workspace, String name, boolean quietOnNotFound)
See the GeoServerRESTReader class, line 906.
The text was updated successfully, but these errors were encountered:
I also ran into this issue (1.7.0); it seems to be a bug, to redirect existsLayer to existsLayerGroup.
existsLayer
existsLayerGroup
As a workaround, you call an override of this function, with an extra argument quietOnNotFound, which works.
quietOnNotFound
public boolean existsLayer(String workspace, String name, boolean quietOnNotFound){ String url; if (workspace == null) { url = baseurl + "/rest/layers/" + name + ".xml"; } else { url = baseurl + "/rest/layers/" + workspace + ":" + name + ".xml"; } String composed = Util.appendQuietOnNotFound(quietOnNotFound, url); return HTTPUtils.exists(composed, username, password); }
Sorry, something went wrong.
No branches or pull requests
Seen on geoserver-manager 1.7.0.
The
GeoServerRESTReader#existsLayer(String workspace, String name)
method seems to be erroneously implemented since it calls:GeoServerRESTReader#existsLayerGroup(String workspace, String name, boolean quietOnNotFound)
instead of:
GeoServerRESTReader#existsLayer(String workspace, String name, boolean quietOnNotFound)
See the GeoServerRESTReader class, line 906.
The text was updated successfully, but these errors were encountered: