UIXCollection.invokeOnComponent() is not calling _flushCachedModel() because of
a typo in the IF statement
----------------------------------------------------------------------------------------------------------
Key: TRINIDAD-934
URL: https://issues.apache.org/jira/browse/TRINIDAD-934
Project: MyFaces Trinidad
Issue Type: Bug
Components: Components
Affects Versions: 1.2.4-core
Reporter: Max Starets
Priority: Critical
Fix For: 1.2.5-core
The code in the UIXCollection.invokeOnComponent() was written with the intent
to call _flushCollectionModel() if it has not been already flushed for the
request.
_getAndMarkFirstInvokeForRequest() returns true if the model has been already
flushed, so the check:
if (_getAndMarkFirstInvokeForRequest(context, clientId))
should be:
if (!_getAndMarkFirstInvokeForRequest(context, clientId))
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.