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

Uploading a SLD 1.1 style over a SLD 1.0 style causes runtime parsing errors

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.3, 2.12.1
    • Component/s: None
    • Labels:
      None

      Description

      Currently the most common issue I'm facing is that while trying to upload an SLD body via REST, raw=true, SLD exported by QIGS client, it seems to be not correctly applied by GeoServer even if the body is actually present on the SLD definition.

      By just hitting the button "Apply" on the GeoServer interface, let the SLD start working correctly.

      Sometimes with SLDs like the above, when trying to update the SLD body without first having hitting the "Apply" button on GeoServer, ends up SLD messing up completely. In this case the whole body is replaced with the StyleDescriptor Object identifier.

        Attachments

        1. lac_nonindigenous_access_to_piped_water2l.sld
          9 kB
        2. line1.sld
          1 kB
        3. line2.sld
          1 kB
        4. line3.sld
          1 kB
        5. wash_deaths_dalys2.sld
          0.3 kB
        6. waterabstraction_mln_m3.sld
          9 kB
        7. wpdxperu_2017_03_15t11_17_56_last.sld
          4 kB

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              afabiani Alessio Fabiani
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: