Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34140

Add oldValue property to Collection event( CollectionEventKind.REFRESH/CollectionEventKind.RESET )

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Collections
    • None

    Description

      For a CollectionEvent, when event kind is

      CollectionEventKind.Add REPLACE REMOVE MOVE UPDATE

      it is revertable, because for ADD/REMOVE, developers can call REMOVE/ADD, for MOVE, there's a oldLocation; for REPLACE: the items are PropertyChangeEvent which has oldValue.

      but for CollectionEventKind.REFRESH and RESET, it is NOT revertable!!!

      If Flex can add a new oldValue or oldList, ( or depreciated: give developers a event right before dispatching ), Flex will be better!!!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              flashflexpro Gary Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified