Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-591

Errai only observes CDI events for which an observer method has been registered before the first event of that type was fired

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.M1, 2.4.0.Beta1, 2.3.2.Final
    • Fix Version/s: 2.4.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      When a CDI event is fired on the server, Errai will only deliver that event to the connected clients if an observer method has been registered before the very first event of that type has been fired.

      This does not allow for creating new beans on the client (e.g. dependent scoped pages) that observe events that have already been fired and previously had no observers. The reason for this is that Weld's bean manager caches the resolved list of observers.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  csa Christian Sadilek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: