[Geoserver-devel] [jira] Created: (GEOS-2232) Layer-level security makes versioned layers think they are unversioned

Layer-level security makes versioned layers think they are unversioned
----------------------------------------------------------------------

                 Key: GEOS-2232
                 URL: http://jira.codehaus.org/browse/GEOS-2232
             Project: GeoServer
          Issue Type: Bug
          Components: Versioning
    Affects Versions: 1.7.0-RC2
            Reporter: Sebastian Benthall
            Assignee: Andrea Aime

Looking at the topp:notes layer at geo.openplans.org/geoserver, I tried to add security to the layer using layers.properties like so:

topp.notes.w=NYC

with

mode=CHALLENGE

Before adding this security, I could read notes from the layer fine with a GetVersionedFeature request:

http://localhost/cgi-bin/proxy.cgi?url=http%3A//geo.openplans.org/geoserver/ows%3Ftypename%3Dtopp%253Anotes%26srsName%3DEPSG%253A900913%26SERVICE%3DWFSV%26VERSION%3D1.0.0%26REQUEST%3DGetVersionedFeature%26SRS%3DEPSG%253A900913%26BBOX%3D-8247612.678593078%2C4975324.38890393%2C-8219369.196646766%2C4986082.9006331405%2CEPSG%253A900913

But once I added the security to the layer, I got the following error in reponse to the request:

{{code}}
   <ServiceException>

      notes is not versioned, cannot execute a GetVersionedFeature on it

</ServiceException>
{{code}}

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