Can't create file based CoverageStore with relative URL, FileExistsValidator does not find my URL's
---------------------------------------------------------------------------------------------------
Key: GEOS-3065
URL: http://jira.codehaus.org/browse/GEOS-3065
Project: GeoServer
Issue Type: Bug
Components: Wicket UI
Reporter: Gabriel Roldán
Assignee: Andrea Aime
Fix For: 2.0-beta1
Hey Andrea I'm assigning this to you for your revision cause I'm not sure if it's just me doing something wrong.
The point is I don't seem able to add any file based coverage store using a relative path to the data dir cause I can't find a URL notation that satisfies FileExistsValidator
Tried the following:
- coverages/arc_sample/precip30min.asc
- file:coverages/arc_sample/precip30min.asc (this one throws the exception bellow as an error page)
- file:/coverages/arc_sample/precip30min.asc
{code}
WicketMessage: Exception 'java.lang.IllegalArgumentException: Value of variable [[path]] could not be resolved while interpolating [[Invalid path: ${path}]]' occurred during validation org.geoserver.web.wicket.FileExistsValidator on component 46:rasterStoreForm:urlPanel:border:paramValue
Root cause:
java.lang.IllegalArgumentException: Value of variable [[path]] could not be resolved while interpolating [[Invalid path: ${path}]]
at org.apache.wicket.util.string.interpolator.VariableInterpolator.toString(VariableInterpolator.java:136)
...
{code}
--
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