Marco Volpini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYjBlMmZkYjcxYjNjNGI5Mzk5ODZiYzIwMzU1ZTllNzEiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10807?atlOrigin=eyJpIjoiYjBlMmZkYjcxYjNjNGI5Mzk5ODZiYzIwMzU1ZTllNzEiLCJwIjoiaiJ9
 ) GEOS-10807 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10807?atlOrigin=eyJpIjoiYjBlMmZkYjcxYjNjNGI5Mzk5ODZiYzIwMzU1ZTllNzEiLCJwIjoiaiJ9
 ) LayerGroup with nested group POST rest op fails with null styles attribute ( 
https://osgeo-org.atlassian.net/browse/GEOS-10807?atlOrigin=eyJpIjoiYjBlMmZkYjcxYjNjNGI5Mzk5ODZiYzIwMzU1ZTllNzEiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Marco Volpini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480
 ) Created: 22/Dec/22 5:24 PM Priority: Medium Reporter: Marco Volpini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480
 )

The addition of layer group styles caused a POST request to the layer group 
endpoint to fail if no entry (even if null for def style) is specified for 
styles while it was working before eg.

{
  "layerGroup":{
     "name":"layerGroupNullStyle",
     "publishables":{
        "published":[
           {
              "name":"sfLayerGroup",
              "@type":"layerGroup"
           },
           {
              "name":"citeLayerGroup",
              "@type":"layerGroup"
           }
        ]
     },
     "styles":null
  }
}

while now is only supported

{
  "layerGroup":{
     "name":"layerGroupNullStyle",
     "publishables":{
        "published":[
           {
              "name":"sfLayerGroup",
              "@type":"layerGroup"
           },
           {
              "name":"citeLayerGroup",
              "@type":"layerGroup"
           }
        ]
     },
     "styles":[null,null]
   }
}

( 
https://osgeo-org.atlassian.net/browse/GEOS-10807#add-comment?atlOrigin=eyJpIjoiYjBlMmZkYjcxYjNjNGI5Mzk5ODZiYzIwMzU1ZTllNzEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10807#add-comment?atlOrigin=eyJpIjoiYjBlMmZkYjcxYjNjNGI5Mzk5ODZiYzIwMzU1ZTllNzEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100213- 
sha1:d1b903b )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to