GeoServer
  1. GeoServer
  2. GEOS-293

A style gets removed after updating it with an invalid .sld file.

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.3
    • Fix Version/s: 1.3-rc1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Mandrake 10.1 with KDE 3.2, Geoserver 1.2.3(Binary), Java 1.4.2. PostgreSQL 7.4.5 with PostGIS 0.9.
    • Number of attachments :
      0

      Description

      Repro Steps.
      1. Add a new style using the web interface and upload a valid .sld file.
      2. Edit the .sld file to make it invalid (for example, taking out a / from a closing tag is how I got this to fail)
      3. Update the newly created style with the invalid .sld file.
      4. Restart Geoserver.

      RESULTS.
      The style is missing from the drop down on the "Styles Configuration" page. The style is also removed from the catalog.xml file.

      Bug found on Version 1.2.3, I haven't tried it on other versions.

        Issue Links

          Activity

          Hide
          Chris Holmes added a comment -

          Related issue, should be solved at the same time.

          Show
          Chris Holmes added a comment - Related issue, should be solved at the same time.
          Hide
          Chris Holmes added a comment -

          This one's all you David.

          Show
          Chris Holmes added a comment - This one's all you David.
          Hide
          Chris Holmes added a comment -

          Fixed this up, we've got validation, and you also now can not send a file that is already there, over riding the other. See the comment on 294 for more info.

          Show
          Chris Holmes added a comment - Fixed this up, we've got validation, and you also now can not send a file that is already there, over riding the other. See the comment on 294 for more info.

            People

            • Assignee:
              Chris Holmes
              Reporter:
              Paul Duff
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: