2011/6/28 Andrea Aime <[email protected]>: > I don't know, I can delete styles without issues on my system, > even if they were attached to a layer that has just been removed. > > It seems in your configuration there is a layer that has no > default style associated to it. Which is wrong, should not > happen, not sure how you got there.
Just committed a patch that makes the cascaded delete code skip over layers that do not have a default style, so with tomorrow nightly build (http://gridlock.opengeo.org/geoserver/2.1.x/) you should be able to delete styles even with a broken configuration, but I'm pretty sure things will break in other ways due to that misconfigured layer (e.g., a GetMap involving that layer will fail, possibly the capabilities document will fail to generate, and so on) Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
