[Geoserver-devel] [jira] Created: (GEOS-4772) in FeatureTypeListResource catalog.getDataStoreByName use only DataStore Name

in FeatureTypeListResource catalog.getDataStoreByName use only DataStore Name
-----------------------------------------------------------------------------

                 Key: GEOS-4772
                 URL: https://jira.codehaus.org/browse/GEOS-4772
             Project: GeoServer
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.1.1
            Reporter: German Osin
            Assignee: Andrea Aime

in FeatureTypeListResource catalog.getDataStoreByName use only DataStore Name

        if ( ds != null ) {
            DataStoreInfo dataStore = catalog.getDataStoreByName( ds );
            return catalog.getFeatureTypesByDataStore(dataStore);
        }

Right is:

        if ( ds != null ) {
            DataStoreInfo dataStore = catalog.getDataStoreByName( ws, ds );
            return catalog.getFeatureTypesByDataStore(dataStore);
        }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira