[Geoserver-devel] [jira] Created: (GEOS-1912) Make FIDs server wide unique

Make FIDs server wide unique
-----------------------------

                 Key: GEOS-1912
                 URL: http://jira.codehaus.org/browse/GEOS-1912
             Project: GeoServer
          Issue Type: Improvement
          Components: WFS
    Affects Versions: 1.6.3
            Reporter: Andrea Aime
            Assignee: Andrea Aime
            Priority: Minor
             Fix For: 1.7.x

The WFS specification requires us to be able and answer a query like:
http://sigma.openplans.org:8080/geoserver/wfs?service=WFS&request=GetFeature&featureId=states.1

This come from the WFS 1.1 GetFeature KVP spec, in particular the table page 99-100:
TYPENAME (Optional if FEATUREID is specified.)
FEATUREID (Mutually exclusive with FILTER and BBOX)

At the current state of development, we support that properly only if the typename prefixing the raw id ("states")
is unique, but it does not work if there are two identical type names registered in different namespaces (there
is not way to tell which one is the one to use).

To handle this we should prefix not only with the typename, but with the namespace prefix as well, such as
topp.states.1

--
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