[Geoserver-devel] [JIRA] (GEOS-10901) GetCapabilities lists the same style multiple times when used as both a default and alternate style

Jody Garnett created an issue

GeoServer / BugGEOS-10901

GetCapabilities lists the same style multiple times when used as both a default and alternate style

Issue Type:

BugBug

Affects Versions:

2.23-RC1

Assignee:

Unassigned

Attachments:

image-20230321-221427.png

Components:

WMS

Created:

21/Mar/23 11:14 PM

Priority:

MediumMedium

Reporter:

Jody Garnett

To reproduce choose the same style as both the default and selected styles.

The result is listed twice.

<Layer queryable="1" opaque="0">
  <Name>ne:coastlines</Name>
  ...
  <Style><Name>ne:coastline</Name>...</Style>
  <Style><Name>line</Name>...</Style>
  <Style><Name>ne:coastline</Name>...</Style>
</Layer>

Options:

  • Remove duplicates when generating GetCapabilities
  • Technically if we only have one style we do not have to list anything.

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#100218-sha1:518c67a)

Atlassian logo