You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Max Starets (JIRA)" <de...@myfaces.apache.org> on 2008/02/05 17:56:08 UTC

[jira] Updated: (TRINIDAD-934) UIXCollection.invokeOnComponent() is not calling _flushCachedModel() because of a typo in the IF statement

     [ https://issues.apache.org/jira/browse/TRINIDAD-934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Starets updated TRINIDAD-934:
---------------------------------

    Status: Patch Available  (was: Open)

> 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
>
>         Attachments: trinidad-934.patch
>
>
> 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.