|
From: Andrea A. <aa...@op...> - 2009-03-09 11:21:49
|
Kris Geusebroek ha scritto: > Hi all, > > > > I’m having multiple users in the database with the same tables. To > differentiate the layers I use the namespaces. > > So user1 has layer user1:LAYERNAME > > > > Now I want to create a BaseMapGroup so I created > > <BaseMapGroup baseMapTitle=”allUsers:LAYERNAME”> > > > <baseMapLayers>user1:LAYERNAME,user2:LAYERNAME,user3:LAYERNAME</baseMapLayers> > > <baseMapStyles>style1,style2,style3</baseMapStyeles> > > Etc.. > > > > But I’m getting the error: > > Java.util.NoSuchElementExeception: Could not locate FeatureTypeConfig > ‘LAYERNAME’ > > At > org.vfny.geoserver.global.Data.getFeatureTypeInfo(Data.java:1903) > > At > org.geoserver.wms.kvp.GetMapKvpRequestReader.findFeatureLayer(GetMapKvpRequestReader.java:1142) > > > > It seems that the namespace is stripped off somewhere between the config > of the basemapgroup and the actual request > > > > Can somenone please explain where I need to look to find the bug (if it > is one ;-)) Hum, first, I would look into services.xml to make sure the namespace has been preserved when the configuration is saved. Second, use the stack trace you already have to locate which part of the code does the feature type lookup. Finally, open a bug report on jira.codehaus.org (provided there is not one already) and attach a patch there :) Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. |