ModificationProxy fails to notice changes in Map properties and improperly 
reports them for live collections
------------------------------------------------------------------------------------------------------------

                 Key: GEOS-4042
                 URL: http://jira.codehaus.org/browse/GEOS-4042
             Project: GeoServer
          Issue Type: Bug
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.0.3


The first issue, failure to notice changes in maps, is due to the m.p. not 
having support for Map (which is not a Collection).
The second issue is due to the m.p. not saving the original contents of the 
collections (and maps), since the collection is live the commit will change the 
contents of the collection directly, the same collection that the old property 
values are referring to.
The code should instead create a separate clone with the initial state and use 
that to return the old value

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

        

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to