cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-1634) [PATCH] In ChildDiffLoader.nodePropertyChanged the oldValue is not passed to writeProperty
Date Sat, 05 May 2012 11:57:50 GMT

     [ https://issues.apache.org/jira/browse/CAY-1634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik closed CAY-1634.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1M4

Thanks! Applied.
                
> [PATCH] In ChildDiffLoader.nodePropertyChanged the oldValue is not passed to writeProperty
> ------------------------------------------------------------------------------------------
>
>                 Key: CAY-1634
>                 URL: https://issues.apache.org/jira/browse/CAY-1634
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.1M4
>         Environment: Mac 10.6
>            Reporter: John Huss
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.1M4
>
>         Attachments: childDiffLoader-patch.txt
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> In ChildDiffLoader.nodePropertyChanged the oldValue is not passed to descriptor.writeProperty.
 This can cause a problem for people trying to observe changes to objects since if the newValue
is null current it makes it look like oldValue is also null resulting in no change.  The actual
oldValue needs to be passed so that client code has the right information to react correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message