[Geoserver-devel] [jira] Created: (GEOS-853) Geoserver cannot handle files outside the data dir anymore

Geoserver cannot handle files outside the data dir anymore
----------------------------------------------------------

                 Key: GEOS-853
                 URL: http://jira.codehaus.org/browse/GEOS-853
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.5.0-beta1, 1.4.0
            Reporter: Andrea Aime
         Assigned To: Andrea Aime
             Fix For: 1.4.1, 1.5.0

After a change on December 1, with changelog:
"removed requirement for shapefiles(data files) to be under the data/ sub-directory of the dara directory. It was searching for everything under data/, but really it should allow any location in the data directory"
Geoserver is no more able to handle files outside the data dir.

Basically, the old code assumed that if something starts with file://data is in the data dir, otherwise, keep the path unmodified.
The new code always prefixes the full data dir path, breaking the absolute paths.

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