John, thanks very much for your detailed bug report. I can now reliably reproduce this behaviour. I have created a Jira issue: https://jira.codehaus.org/browse/GEOS-6014
Per-workspace URLs are a relatively new feature. These are the URLs containing geoserver/gsmlp/ows or similar instead of the top-level geoserver/ows or similar. It looks like there is a bug in app-schema, and that app-schema per-workspace URLs cause corruption of other namespaces, if and only if they are the first layer accessed after a GeoServer restart. The workaround is to not use per-workspace URLs like this: http://maps.dgs.udel.edu/geoserver/gsmlp/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=gsmlp:GeologicUnitView&maxFeatures=1 Instead only use top-level URLs like this: http://maps.dgs.udel.edu/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=gsmlp:GeologicUnitView&maxFeatures=1 Thanks again. Kind regards, Ben. On 02/09/13 15:48, Ben Caradoc-Davies wrote: > Confirmed. > > Thanks for your zipped workspace. I started with the release example > workspace (the one shipped with GeoServer) and used the app-schema > tutorial GeologicUnit property file in a new gsmlp workspace and then > edited the datastore as you described. I used your mapping file, changed > the data store to use the property file, and edited the mappings to > match the property file. The output is either fine or has null > namespaces, seen both gsmlp:GeologicUnitView and topp:tasmania_roads, > the latter being an unrelated simple feature. I have attached the > workspace zip file. > > The problem is intermittent. Changing settings seems to trigger it, but > not reliably. If I can figure out how to repeat the behaviour, I might > be able to determine if app-schema is the root cause. > > Kind regards, > Ben. -- Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users