[Geoserver-devel] [jira] Created: (GEOS-4825) Creating a new workspace CatalogAddEvent do not handle info about the default flag

Creating a new workspace CatalogAddEvent do not handle info about the default flag
----------------------------------------------------------------------------------

                 Key: GEOS-4825
                 URL: https://jira.codehaus.org/browse/GEOS-4825
             Project: GeoServer
          Issue Type: Bug
          Components: Global
    Affects Versions: 2.1.2
            Reporter: carlo cancellieri
            Assignee: Andrea Aime

Creating a new workspace the produced CatalogAddEvent do not handle info about the default flag.
How to reproduce:
1. Create a new workspace (or modify an existing one)
2. intercept the fired CatalogAddEvent
2. calling getSource() I obtain a WorkspaceInfo object with the _default boolean member always set to false (default).

The default workspace is correctly initialised anyway.

I think that those information should be included into the source event object.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira