Hugo Ferreira created FLEX-35372: ------------------------------------ Summary: TLF - Table error Key: FLEX-35372 URL: https://issues.apache.org/jira/browse/FLEX-35372 Project: Apache Flex Issue Type: Bug Components: TLF Affects Versions: Apache Flex 4.16.0 Environment: Flex latest + AIR 27 + macOS Reporter: Hugo Ferreira Priority: Blocker
This is my first time, trying to use Table on TLF and even the smallest use case throws an exception. The smallest use case: (textFlow.interactionManager as IEditManager).insertTableElement(new TableElement()); Exception: ArgumentError: NewElement not of a type that this can be parent of. TextFlow cannot own table at flashx.textLayout.elements::FlowGroupElement/replaceChildren()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\elements\FlowGroupElement.as:776] at flashx.textLayout.elements::FlowGroupElement/addChildAt()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\elements\FlowGroupElement.as:906] at AddElementMemento$/perform()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\ModelEdit.as:589] at flashx.textLayout.edit::ModelEdit$/addElement()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\ModelEdit.as:57] at flashx.textLayout.operations::InsertTableElementOperation/doOperation()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\operations\InsertTableElementOperation.as:107] at flashx.textLayout.edit::EditManager/doInternal()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\EditManager.as:772] at flashx.textLayout.edit::EditManager/doOperation()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\EditManager.as:652] at flashx.textLayout.edit::EditManager/insertTableElement()[D:\flex_sdk\Sources\flex-tlf\textLayout\src\flashx\textLayout\edit\EditManager.as:1571] -- This message was sent by Atlassian JIRA (v6.4.14#64029)