SX Spring Actionscript
  1. SX Spring Actionscript
  2. SESPRINGACTIONSCRIPTAS-46

SequenceEvent not triggered by unregistering the previous Command

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: Cairngorm extensions
    • Labels:
      None
    • Environment:
      Flex SDK 3.3, Spring Actionscript Cairngorm extension

      Description

      Doc. Section 3.1.1.6 describes the EventSequence responding to two types of triggers. The trigger causes the EventSequence to dispatch the next SequenceEvent. First, the trigger can be a Property. Second, the current Command can call:

      PendingCommandRegistry.getInstance().unregister(this);

      "When calling unregister, the event sequence will get notified of this and trigger the next event if any."

      I have found the first trigger type to work correctly. The second is not working in my implementation. The PendingCommandRegistry appears to dispatch the PendingCommandRegistryEvent.UNREGISTER event; however, this event is not consumed by the EventSquence.

      Attached is a sample implementation.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Christophe Herreman
            Reporter:
            Michael Doolen
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: