[Geoserver-devel] [JIRA] (GEOS-9368) Cascaded WMS Layer configured without force remote style is passed local default when part of LayerGroup

Imran Rajjad created an issue

GeoServer / BugGEOS-9368

Cascaded WMS Layer configured without force remote style is passed local default when part of LayerGroup

Issue Type:

BugBug

Affects Versions:

2.17-RC

Assignee:

Imran Rajjad

Components:

WMS

Created:

17/Oct/19 2:53 PM

Fix Versions:

2.16.1, 2.15.4

Priority:

HighHigh

Reporter:

Imran Rajjad

Steps to re-create problem

  1. Create two Cascaded WMS Layer and do not configure any forced remote style and remove any supported style
  2. Add both layers to a Layergroup
  3. Preview the Layergroup

Result: Layergroup will fail because it will assume the local default style (raster) for Cascaded WMS and make it part of request internally. This will fail the check when “raster” name will be passed to WMSLayerInfo resource for validation.

Resolution:
For WMSLayerInfo not configured with any remote style, calling getDefaultStyle() should return an empty StyleInfo implementation with metadata including tag “isRemote”.

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#100113-sha1:b2b9d89)

Atlassian logo