Uploaded image for project: 'GeoServer'
  1. GEOS-8092

GetFeatureInfo error for requests with both queryable and non-queryable layers

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.10.2
    • Fix Version/s: 2.10.4, 2.11.2
    • Component/s: WMS
    • Labels:
      None

      Description

      WMS GetFeatureInfo requests are allowed to contain non-queryable layers and layer groups as long as there is at least one queryable layer in the request. However, the code in org.geoserver.wms.map.GetMapKvpRequestReader that is filtering the non-queryable layers and layer groups from the request only removes the layers and not their corresponding styles and cql_filter or filter. This can cause the styles and filters to be assigned to the wrong layer which can cause incorrect output or errors, such as "The requested Style can not be used with this layer.".

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sikeoka Steve Ikeoka
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: