Uploaded image for project: 'GeoServer'
  1. GEOS-8011

On Windows, Create Store interface creates invalid URL/path: unable to create store

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.10.2
    • Fix Version/s: 2.13.1
    • Labels:
      None
    • Environment:

      WIndows binary and war installs.

      Tested on both WindowsServer2008 and a recent 64bits WIndows10 Desktop

      Description

      On Windows using Geoserver 2.10 admin webinterface, try to create a Image Mosaic store by using the browse button and browse to whatever directory outside the GEOSERVER_DATA_DIR folder (be it on c: or d: or e,
      eg
      d:\data
      you will see in the webpage:
      file://D:\data
      when trying to save it as a store you will see an error message (see windowserror.jpg):

      Could not list layers for this store, an error occurred retrieving them. Failed to create reader from file://D:\data and hints is null

      Note that in 2.8 the same url's/paths just work:
      file://E:\luchtfotos2016
      file://D:\data

      Funny thing is (see windowserror2.jpg) that browsing for a Shapefile store you will see the same funny file-URL's:
      file://C:\temp\provincies\provincies.shp
      but at least the creation of the store just works

      Maybe it has something to do with the types of datastore (which handle the URL's?) or maybe it has something to do that for a shapefile you point to a FILE and for a MosaicStore you point to a DIRECTORY?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rduivenvoorde Richard Duivenvoorde
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: