[Geoserver-devel] [JIRA] (GEOS-10077) OGC API maps/tiles won't work in a workspace specific service

Andrea Aime created an issue

GeoServer / BugGEOS-10077

OGC API maps/tiles won’t work in a workspace specific service

Issue Type:

BugBug

Assignee:

Andrea Aime

Components:

Main

Created:

26/May/21 6:37 PM

Priority:

MediumMedium

Reporter:

Andrea Aime

The services in question use the catalog list method to enumerate all publisheables.

The iterator returned contains a list of LocalWorkspaceCatalog.NameDequalifyingProxy, which are created on the basis of PublishedInfo. The ProxyUtils.create method called to build the proxy tries to get all interfaces, but only gets the immediate interfaces and not the transitive ones (interfaces implemented by superclasses).

The list of published contains layers, that are not futher wrapped, and layer gruoups, which are wrapped in a SecuredLayerGroupInfo, which does not implement directly LayerGroupInfo. The result is that the groups returned do not look like groups to the rest of GeoServer. In the OGC API that causes an exception, since it’s expecting either a layer or a group, but I’m guessing the same issue could happen in the WMS caps generator, and maybe there they are skipped/ignored.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100162-sha1:df22007)

Atlassian logo