Hi to all

I've a geoserver 2.1.1 instance and I'm manipulating the layer content
using the REST interface, unfortunately when I set the SLD in the server
the layer becomes deactivated by default.

Here is the SLD change example request

curl -v -u admin:------ -XPUT -H "Content-type: text/xml" -d
"<layer><defaultStyle><name>TAXGWRB</name></defaultStyle><enabled>true</enabled></layer>"
 http://wms3.isric.org/geoserver/rest/layers/test:TAXGWRB2


I've found the following bug report
 http://jira.codehaus.org/browse/GEOS-4023

I was wondering if there is a workaround the bug since I dont fell like
going to the panel admin and click enable on 100 layers....I'm forcing
the layer to be enabled and even rebooted the server..never the less
nothing happens

Maybe a geoserver upgrade would help ???

Thank you

Jorge



-- 
ISRIC - World Soil Information Post: PO box 353, 6700 AJ, Wageningen,
The Netherlands Visiting Address: Droevendaalsesteeg 3, 6708 PB
Wageningen (Bdg. 101), Office: C.013 Office Phone: +31 (0) 317 4 83715
Mobile Phone: +31 (0) 613 9 06950 OpenPGPKey: 0xA3D0065A


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to