Stale reference of the collection model by the RowKeySet
----------------------------------------------------------
Key: TRINIDAD-2072
URL: https://issues.apache.org/jira/browse/TRINIDAD-2072
Project: MyFaces Trinidad
Issue Type: Bug
Affects Versions: 2.0.0-beta-2
Environment: n/a
Reporter: Gary VanMatre
UIXCollection caches a reference to the collectionModel as internal state.
This cache is cleared by many of the lifecycle operations that act on the
component (processDecodes, invokeOnComponent, visit tree, encoding). The
RowKeySet components properties are populated with the current collection
model. It is possible for these component properties to be acted on before the
component is processed by the lifecycle. A component rendered prior to the
"table" could get a stale model accessing the selectedRowKeys before encoding
of the table.
The proposed fix is to always flush the internal cache for property getters
that needs the very latest reference to the collection model.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira