Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-RC2
-
Component/s: Configuration
-
Labels:None
-
Number of attachments :
Description
I was looking into a user report having troubles with some layers with GetFeatureInfo (http://jira.codehaus.org/browse/GEOS-3337) and he gave me access to his server.
There I noticed how the layer was contained in a workspace without any URI, and that was the breaking factor.
Now, the UI has validators for the URI but the rest config relies on the catalog to validate stuff, and CatalogImpl.validate(workspace) does not check for the associated NamespaceInfoImpl -> it should be there and have a valid URI (at least for the time being).
Oh, I guess the validation for the URI must be placed inside the validate(NamespaceInfo, true) method.