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

Tree itemEditor property requires the item editor to define text property (not required by IListItemRenderer interface)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • mx: Tree
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Implement IListItemRenderer in a component which extends UIComponent and defines set/get data.
      2. Specify this component as itemEditor for Tree control.
      3. trest:

      Actual Results:
      ReferenceError: Error #1069: Property text not found on my.*******.RemoteTreeItemEditor and there is no default value.
      at mx.controls::List/itemEditorItemEditEndHandler()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\List.as:2823]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\core\UIComponent.as:11749]
      at mx.controls::List/endEdit()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\List.as:2378]
      at mx.controls::List/deactivateHandler()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\List.as:2599]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\core\UIComponent.as:11749]
      at mx.controls::List/endEdit()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\List.as:2378]
      at mx.controls::List/editorMouseDownHandler()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\List.as:2625]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\core\UIComponent.as:11749]
      at mx.controls::List/endEdit()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\List.as:2378]
      at mx.controls::List/editorMouseDownHandler()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\List.as:2625]

      Expected Results:
      No error, or, set text() must be mentioned in IListItemRenderer interface.

      Workaround (if any):
      Add set/get text() property to the item editor.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: