You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2012/05/05 13:57:50 UTC

[jira] [Closed] (CAY-1634) [PATCH] In ChildDiffLoader.nodePropertyChanged the oldValue is not passed to writeProperty

     [ 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