Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-934

UIXCollection.invokeOnComponent() is not calling _flushCachedModel() because of a typo in the IF statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.2.4-core
    • 1.2.6-core
    • Components
    • None

    Description

      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))

      Attachments

        1. trinidad-934.patch
          1 kB
          Max Starets

        Activity

          People

            Unassigned Unassigned
            mstarets Max Starets
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: