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

method copyItemWithUID in ListBase never recognize IUID copied item

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.5 (Release)
    • None
    • mx: Tree
    • None
    • Affected OS(s): Windows
      Affected OS(s):
      Browser: Internet Explorer 6.x
      Language Found: English

    Description

      Steps to reproduce:
      1. debug attached main.mxml app ( breakpoint on _DRAG_COMPLETE_handler )
      2. do a drap/copy of "leaf" node

      Actual Results:
      when entering _DRAG_COMPLETE_handler : new node uid = same as copied node

      Expected Results:
      because TestClass class implements IUID interface, new node should have a different uid than copied node

      Workaround (if any):
      no workaround

      Reason : because of copyItemWithUID method which includes following starting code :

      var copyObj:Object = ObjectUtil.copy(item);
      if (copyObj is IUID)

      copyObj can never be IUID even though item is : ObjectUtil.copy does apparently not transfer this information.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: