> so I propose to do this in > gs-main/src/main/java/org/geoserver/config/GeoServerLoader.java around line > 207. > > Further, can I automatically remove a null/missing style, or is that > dangerous/unacceptable? >
I think it would be far smarter to issue a warning to allow folks to fix it by hand rather than lose their work. Note we do have a workflow for configuration that fails to load, datastores that cannot connect are automatically disabled, perhaps you could take a similar approach to layers that are inconsistent because they are referencing a missing style.
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
