[dna-issues] [JBoss JIRA] Resolved: (DNA-554) GraphSession does not correctly compute whether changes are in branch being saved or refreshed

Randall Hauch (JIRA) jira-events at lists.jboss.org
Mon Nov 23 15:42:30 EST 2009


     [ https://jira.jboss.org/jira/browse/DNA-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Hauch resolved DNA-554.
-------------------------------

    Resolution: Done


Corrected the code so that it matches the documentation.  Also addressed the potential for a null pointer exception when the old parent of a node has been removed (because it was removed within the same session).

> GraphSession does not correctly compute whether changes are in branch being saved or refreshed
> ----------------------------------------------------------------------------------------------
>
>                 Key: DNA-554
>                 URL: https://jira.jboss.org/jira/browse/DNA-554
>             Project: DNA
>          Issue Type: Bug
>          Components: Graph
>    Affects Versions: 0.6
>            Reporter: Randall Hauch
>            Assignee: Randall Hauch
>             Fix For: 0.7
>
>
> The GraphSession.Node.containsChangesWithExternalDependencies() does not work correctly because it returns a boolean value that is opposite to what the documentation describes. It should be reversed so that the documentation (and logic) are correct.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the dna-issues mailing list