[Geoserver-devel] [jira] Created: (GEOS-2830) Incorrect data store link when retrieving feature type

Incorrect data store link when retrieving feature type
------------------------------------------------------

                 Key: GEOS-2830
                 URL: http://jira.codehaus.org/browse/GEOS-2830
             Project: GeoServer
          Issue Type: Bug
          Components: REST
    Affects Versions: 1.7.3
         Environment: Fedora Linux, tomcat, GeoServer 1.7.3 with REST Extension
            Reporter: Ben Steffensmeier
            Assignee: Andrea Aime
            Priority: Trivial
         Attachments: roads.xml

When requesting an xml representation of a feature type using rest, the url is missing a slash. To retrieve the feature type I used the following curl command:
curl -x "" http://127.0.0.1:8085/geoservaces/sf/datastores/sf/featuretypes/roads.xml

A sample xml document is attached and the relevane xml is below.

  <store class="dataStore">
    <name>sf</name>
    <atom:link xmlns:atom="http://www.w3.org/2005/Atom&quot; rel="alternate" href="http://127.0.0.1:8085/geoserver/rest/workspaces/sf/datastoressf.xml&quot; type="application/xml"/>
  </store>

Notice that "datastoressf.xml" should be "datastores/sf.xml"

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