[Geoserver-devel] [jira] Created: (GEOS-4154) Allow new or edit layer page to recover from minor problems retrieving attribute information

Allow new or edit layer page to recover from minor problems retrieving attribute information
--------------------------------------------------------------------------------------------

                 Key: GEOS-4154
                 URL: http://jira.codehaus.org/browse/GEOS-4154
             Project: GeoServer
          Issue Type: Bug
          Components: UI
    Affects Versions: 2.1-beta1
         Environment: all
            Reporter: Tara Athan
            Assignee: Andrea Aime
            Priority: Minor
         Attachments: LayerPageWorkaroundForAppSchema.patch

Without this fix, the New or Edit Layer page throws a null pointer exception while trying to determine attribute information for an app-schema datastore. While in the long term, it would be best to track down and fix the source of the problem, which appears to be related to complex features, in the meantime we can work around the problem by the submitted simple fix. There is a big gain from this as it allows the layer.xml file to be generated by the GUI for app-schema layers, and then the GML3 option becomes enabled in layer preview, which is helpful for debugging mappings files. Put this together with a change of convention to not store the mappings file in the same directory as the datstore.xml file, and we have partial GUI support for app-schema, so only the mappings file and schema need to be hand-coded -- (once the gui support for Data Access returns.)

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