[GeoNode-users] Geonode 2.0.1: Change of 'view' permission from 'anyone' to 'any registered' raises server error

Oliver Archner oliver.archner at uni-bayreuth.de
Mon Jul 20 08:28:31 PDT 2015


Dear users

I would like to hide some layers from public. Therefore i switched the 
view permission from 'Anyone' to 'Any registered' user.
After this step the layer isn't rendered anymore in geonode, even with 
super user privileges.
The geoserver.log shows me the following error message:

org.geoserver.platform.ServiceException: Can't obtain the schema for the 
required layer.at 
org.geoserver.wms.legendgraphic.GetLegendGraphicKvpReader.read(GetLegendGraphicKvpReader.java:160)
         at 
org.geoserver.wms.legendgraphic.GetLegendGraphicKvpReader.read(GetLegendGraphicKvpReader.java:61)
         at 
org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1412)
         at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:622)
         at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263)
         at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
         at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
         at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
         at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
         at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
....
Caused by: org.geoserver.platform.ServiceException: 
:windavg100oberfranken layer does not exist.
         at 
org.geoserver.wms.legendgraphic.GetLegendGraphicKvpReader.read(GetLegendGraphicKvpReader.java:150)
         ... 86 more

It looks like the layer name is missing the 'geonode' workspace prefix.
Has anyone fixed this in 2.0.1
Oliver



-- 
Oliver Archner
Tel.: 0921/55-5727
Fax.: 0921/55-5709
BayCEER
EDV und Datenbanken
Universitaet Bayreuth
D-95440 Bayreuth



More information about the geonode-users mailing list