GeoServer
  1. GeoServer
  2. GEOS-3398

Workspace validation does not check for existing and valid URI

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-RC2
    • Component/s: Configuration
    • Labels:
      None
    • Number of attachments :
      0

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

        Activity

        Hide
        Andrea Aime added a comment -

        Oh, I guess the validation for the URI must be placed inside the validate(NamespaceInfo, true) method.

        Show
        Andrea Aime added a comment - Oh, I guess the validation for the URI must be placed inside the validate(NamespaceInfo, true) method.
        Hide
        Andrea Aime added a comment -

        Fixed on trunk

        Show
        Andrea Aime added a comment - Fixed on trunk

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Andrea Aime
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: