You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "John Huss (Updated) (JIRA)" <ji...@apache.org> on 2011/10/31 17:49:32 UTC

[jira] [Updated] (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 ]

John Huss updated CAY-1634:
---------------------------

    Attachment: childDiffLoader-patch.txt

Patch attached
                
> [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
>         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