GeoServer

in FeatureTypeListResource catalog.getDataStoreByName use only DataStore Name

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1.1
  • Fix Version/s: 2.1.2, 2.2.x
  • Component/s: REST
  • Labels:
    None
  • Number of attachments :
    0

Description

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); }

Activity

Hide
Andrea Aime added a comment -

Assigning to the rest maintainer. But yeah, the correction looks right

Show
Andrea Aime added a comment - Assigning to the rest maintainer. But yeah, the correction looks right
Hide
Justin Deoliveira added a comment -

Yup, definitely a bug. Thanks German!

Show
Justin Deoliveira added a comment - Yup, definitely a bug. Thanks German!
Hide
Andrea Aime added a comment -

Mass transition all resolved issue that did not see any further comment in the last month to closed status

Show
Andrea Aime added a comment - Mass transition all resolved issue that did not see any further comment in the last month to closed status

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: