[Geoserver-devel] [jira] Created: (GEOS-3340) Double proxied styles break persistence

Double proxied styles break persistence
---------------------------------------

                 Key: GEOS-3340
                 URL: http://jira.codehaus.org/browse/GEOS-3340
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 2.0-RC1
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
            Priority: Critical
             Fix For: 2.0-RC2

See the mail message on the ml:

http://www.nabble.com/Issues-saving-styles-td25004779.html

The issue is happening because the StyleInfo passed down to the save method is a proxy of a proxy, and only the outer proxying level is removed.
As far as I can see this is happening in the ProxyList, which is blindingly creating another ModificationProxy around an object that is already proxied.
Why this is affecting only Styles I did not find out, but it should not be happening imho (proxy should be completely transparent to how people use the catalog)

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