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

OpenLayers2 preview does not trigger automatically on IE8

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.14.1, 2.15-RC
    • Fix Version/s: 2.13.4, 2.14.2
    • Component/s: WMS
    • Labels:
      None

      Description

      If Internet Explorer 8 is used the preview page does not use Openlayers2, but still uses OL3.

      The pattern to match the user agent doesn't actually match any real IE user agent headers.
      https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/map/OpenLayers3MapOutputFormat.java#L66

      To reproduce:

      • Start the 2.15.x binary package
      • Use Chrome to select IE7 and IE8 user agents strings (or download an IE8 test VM from Microsoft)
      • Open a layer preview
      • The page will serve OpenLayers3
      • Use the custom User Agent "MSIE 7." or "MSIE 8."
      • The page will serve OpenLayers2

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              Gnafu Gnafu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: