Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31A3D1147B for ; Tue, 10 Jun 2014 05:52:06 +0000 (UTC) Received: (qmail 89306 invoked by uid 500); 10 Jun 2014 05:52:04 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 88421 invoked by uid 500); 10 Jun 2014 05:52:03 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 88414 invoked by uid 99); 10 Jun 2014 05:52:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2014 05:52:03 +0000 Date: Tue, 10 Jun 2014 05:52:03 +0000 (UTC) From: "Denis Johnson (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLEX-34361) mx.states.AddItems.addItemsToArray fails with RichText & ParagraphElement MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Denis Johnson created FLEX-34361: ------------------------------------ Summary: mx.states.AddItems.addItemsToArray fails with RichText & ParagraphElement Key: FLEX-34361 URL: https://issues.apache.org/jira/browse/FLEX-34361 Project: Apache Flex Issue Type: Bug Components: Spark: RichText, States Affects Versions: Apache Flex 4.11.0 Reporter: Denis Johnson When a state is used to exclude a ParagraphElement in a RichText in mxml an RTE is caused when the state wants to include the ParagraphElement. "TypeError: Error #1034: Type Coercion failed: cannot convert flashx.textLayout.elements::TextFlow@dad6369 to Array" Error occurs in: mx.states.AddItems.addItemsToArray() Example bellow works when state is "stateToExclude" but fails when "normal" {code:xml} ... ... First paragraph. Second paragraph. Optional paragraph ... {code} -- This message was sent by Atlassian JIRA (v6.2#6252)