This has been an ongoing issue, and has a number of associated JIRA tickets:
- https://osgeo-org.atlassian.net/browse/GEOS-4339
- https://osgeo-org.atlassian.net/browse/GEOS-5356
- https://osgeo-org.atlassian.net/browse/GEOS-6227
- https://osgeo-org.atlassian.net/browse/GEOS-7682
The issue is that layers of the same name in different workspaces show up
identically when listing layers using the rest API (not noted in most of
these issues is that this also affects the layer list shown when viewing a
layer group).
This also presents as a legitimate error for links to layers, as links also
use the unprefixed name and therefore always go to the default / first
layer with that name.
There has been a bunch of ongoing discussion, which ultimately boils down
to we should probably use prefixed layer names. However, this is a little
bit of an API change.
I have a PR with a (potential) fix (and further details) here:
https://github.com/geoserver/geoserver/pull/2733
There's enough of a change in behaviour that this probably shouldn't get
back-ported, but otherwise I don't think it is too problematic - After my
fix, prefixed names are only used in lists of layers, not in the layer
details (this is consistent with how we currently handle stores or
resources in the rest API). Examples can be seen in the PR description.
Any comments/discussion?
Torben
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel