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

REST - Empty response on JSON layergroup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.3, 2.10.0
    • Component/s: REST
    • Labels:
      None

      Description

      When the layergroup is added and contains layers without styles, the JSON responses return HTTP 200, but are empty. XML responds normally/as expected. Problem surfaces with multiple layers ~ 5 in the layer group.

      there is an error in the JSON parser causing non-matching close brackets for null values ocurring in the geoserver XStreamPersister, eg:

      {{"styles":{"style":[""]},"style":["",""]},"style":["",""]}
      

      The expected behavior here would be something like:

      {{"styles":{"style":["","","","",""]}}
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jhankes Jonathan Hankes
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: