GetFeatureInfo XML namespaces don't match layers workspaces
-----------------------------------------------------------
Key: GEOS-3942
URL: http://jira.codehaus.org/browse/GEOS-3942
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 2.0.1
Environment: GeoServer binary version, Ubuntu 9.10, java 1.6.15
Reporter: Arnaud Couturier
Assignee: Andrea Aime
I had the same issue as [this one |http://jira.codehaus.org/browse/GEOS-3337\], then I managed to fix it by chance (see [this comment | http://jira.codehaus.org/browse/GEOS-3337?focusedCommentId=219327&page=com\.atlassian\.jira\.plugin\.system\.issuetabpanels%3Acomment\-tabpanel\#action\_219327\]).
But now, the XML result of my GetFeatureInfo requests always have the default workspace name as the XML namespace for all my layers, even when those layers exist in different workspaces.
Steps:
- I did all [these steps | http://jira.codehaus.org/browse/GEOS-3337?focusedCommentId=219327&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_219327]
- I created a second namespace/workspace called "wallis2"
- created a layer in that namespace
- I do a GetFeatureInfo on that layer in namespace "wallis2"
- the result shows my layer in the workspace "wallis" but it should be in "wallis2"
- changing the default workspace doesn't help
See the beginning of this response, the layer "toafa" should be in "wallis2", not "wallis"
{code}
<wfs:FeatureCollection xsi:schemaLocation="http://www.univ-nc.nc http://localhost:8080/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=wallis%3Atoafa,toafa http://www.opengis.net/wfs http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd">
<gml:boundedBy>
<gml:null>unknown</gml:null>
</gml:boundedBy>
<gml:featureMember>
<wallis:toafa fid="toafa.129">
<wallis:surface_ha>0.90640000000000</wallis:surface_ha>
<wallis:the_geom>
{code}
Hope my description is not too confusing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira