[Geoserver-devel] [jira] Created: (GEOS-4358) Exception page when creating a workspace named "default"

Exception page when creating a workspace named "default"
--------------------------------------------------------

                 Key: GEOS-4358
                 URL: http://jira.codehaus.org/browse/GEOS-4358
             Project: GeoServer
          Issue Type: Bug
          Components: Wicket UI
    Affects Versions: 2.1-RC1
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán
             Fix For: 2.1-RC2

Try creating a workspace named "default" and instead of a nice error message an exception page with a stack trace like the following is shown:
{code}
org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = form]] threw an exception
...
Caused by: java.lang.IllegalArgumentException: default is a reserved keyword, can't be used as the workspace name at org.geoserver.catalog.impl.CatalogImpl.validate(CatalogImpl.java:941)
{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