myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blake Sullivan (JIRA)" <>
Subject [jira] Created: (TRINIDAD-2011) RowKeySet Attribute Changes surprisingly change object identity
Date Wed, 19 Jan 2011 00:55:44 GMT
RowKeySet Attribute Changes surprisingly change object identity

                 Key: TRINIDAD-2011
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 2.0.0-alpha-2, 2.0.0-alpha, 1.2.14-core , 1.2.13-core 
            Reporter: Blake Sullivan

Whenever the ChangeManager restores a RowKeySet, it changes the identity of the underlying
object.  This surprises application developers who may have held onto the original instance
in order to mutate it and results in the wrong objects being used by the application in many
cases.  The solution is to preserve the object identity in all cases by reusing the existing
RowKeySet and simply clearing it and then adding the new values.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message