Dear all,
While doing some tests I stumbled upon the following strange behaviour in the
layergroup REST API (on GeoServer 2.10.0), which I believe is a bug:
Let's say I have the same layers published in two workspaces "demo" and
"demo_2".
raster
areas
roads
sites
In both workspaces I grouped the layers with a layergroup in CONTAINER mode.
When I request the xml from the REST API for both layergroups the references to
the layers are not namespaced, through
http://localhost:8080/geoserver/rest/workspaces/demo/layergroups/demo.xml:
Excerpt from the layergroup in "demo":
<published type="layer">
<name>polygons</name>
<atom:link rel="alternate"
href="http://localhost:8080/geoserver/rest/layers/raster.xml"
type="application/xml"/>
</published>
The layergroup for the “demo_2” workspace gives the same result, which is not
correct since http://localhost:8080/geoserver/rest/layers/raster.xml resolves
to demo:raster.
I would expect the output to be namespaced, something like this:
<published type="layer">
<name>demo:raster</name>
<atom:link rel="alternate"
href="http://localhost:8080/geoserver/rest/layers/demo:raster.xml"
type="application/xml"/>
</published>
I appreciate your thoughts on it.
Kind regards,
Anton Bakker
software developer@geocat <http://www.geocat.net/>
tel. +31 318 416 664
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users