All,

I've caught this happening on my test environment (contains a copy of the 
data_dir from live), a parent Layer Group should have 3 child Layer Groups but 
only 1 is being shown (in Web Admin & via WMS).

In the relevant folder: [...]\workspaces\WORKSPACE_NAME\layergroups

I have XML files for a parent Layer Group and it's 3 child Layer Groups.

Opening them up in a text editor appears to look normal, with the corresponding 
<id> values for the children in the parent and I've also checked the children 
<id> values to their constituent layers - all matching.

I also checked the bounds of the parent, they appeared to be a little too small 
(although I doubt that is the root cause); as a test I manually edited the 
parent Layer Group XML to extend the bounds and restarted GeoServer.

Through the web interface the bounds were updated but the same 2 child Layer 
Groups were still missing.

Attempting to save the Parent via the Web Admin results in an error 
"java.lang.IllegalArgumentException: Layer group has different number of styles 
than layers"

Adding the missing child Layer Groups back in the correct order allows a save 
but then the parent Layer Group has the missing layer Groups removed from the 
XML (although all 3 <style/> tags still remain).  Going back into the parent 
Layer Group in Web Admin results in the same error as above.

Is there anything else I can check or try before I have to resolve this 
(probably by removing the parent Layer Group and re-adding it)?  Can/should I 
open a bug report as I cannot recreate it (I've tried)?

Jonathan/Andrea - thanks for your comments.

Regards,

Rob

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
Sent: 25 July 2013 12:02
To: Langford, Robert
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Layer Groups within Layer Groups

Hi Rob,
    I've not had that particular issue, but I have had some other issues with 
Layer Groups within LayerGroups; they do tend to be a bit flaky, though I can't 
put my finger on exactly what the issue is. (Also using 2.3.3). It's definitely 
worth keeping a close eye on them for unexpected behaviour whenever some aspect 
of them or their constituent layers is changed.

Jonathan

On 25 July 2013 10:23, Langford, Robert 
<robert.langf...@salford.gov.uk<mailto:robert.langf...@salford.gov.uk>> wrote:
Hi all,

Has anyone had any problems with Layer Groups within Layer Groups?  I have a 
number of these set up and the "child" Layer Groups (between 2 and 3) have 
disappeared from the "parent".  In some cases they've all disappeared and in 
others they've left one behind.

When I tried to add them back in via the Web Admin then open them up again they 
haven't disappeared again!  I needed to fix this ASAP so I just deleted the 
parent groups and re-added them with the same names and they appear to be 
working as normal (for now).

All of the Groups where in this format:

PARENT Layer Group > 2-3 CHILD Layer Groups > 3-7 SHP files from same directory

Any thoughts?

Many thanks,

Rob



DISCLAIMER: The information contained in this communication/message from 
robert.langf...@salford.gov.uk<mailto:robert.langf...@salford.gov.uk> sent on 
Thu Jul 25 10:23:38 2013 is confidential and may be legally privileged. It is 
intended solely for the addressee(s) 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>



Access to this message by anyone else is unauthorised. If you are not the 
intended recipient, any disclosure, copying, or distribution of the message, or 
any action or omission taken by you in reliance on it, is prohibited and may be 
unlawful.

As a public body, Salford City Council may be required to disclose this email 
[or any response to it] under the Freedom of Information Act 2000, unless the 
information in it is covered by one of the exemptions in the Act.

Please immediately contact the sender, 
robert.langf...@salford.gov.uk<mailto:robert.langf...@salford.gov.uk> if you 
have received this message in error.



For the full disclaimer please access http://www.salford.gov.uk/e-mail.  Thank 
you.


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.

DISCLAIMER: The information contained in this communication/message from 
robert.langf...@salford.gov.uk sent on Thu Jul 25 15:03:17 2013 is confidential 
and may be legally privileged. It is intended solely for the addressee(s) 
andrea.a...@geo-solutions.it;geoserver-users@lists.sourceforge.net;jonathanmou...@warwickshire.gov.uk

Access to this message by anyone else is unauthorised. If you are not the 
intended recipient, any disclosure, copying, or distribution of the message, or 
any action or omission taken by you in reliance on it, is prohibited and may be 
unlawful.
As a public body, Salford City Council may be required to disclose this email 
[or any response to it] under the Freedom of Information Act 2000, unless the 
information in it is covered by one of the exemptions in the Act.
Please immediately contact the sender, robert.langf...@salford.gov.uk if you 
have received this message in error.

For the full disclaimer please access http://www.salford.gov.uk/e-mail.  Thank 
you.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to