You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Michael Schmalle (JIRA)" <ji...@apache.org> on 2012/11/14 15:46:13 UTC

[jira] [Resolved] (FLEX-33240) Falcon Compile Error: Cannot parse a value of type 'Object' from ''.

     [ https://issues.apache.org/jira/browse/FLEX-33240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Schmalle resolved FLEX-33240.
-------------------------------------

    Resolution: Fixed

Revision: 1407673
Author: gordonsmith
Date: Friday, November 09, 2012 5:32:18 PM
Message:
Falcon: An empty attribute of type String, Object, or * now produces an empty-string value, as in the old compiler. (FLEX-32240)

----
Modified : /incubator/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLTreeBuilder.java
Modified : /incubator/flex/falcon/trunk/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLStringNodeTests.java


                
> Falcon Compile Error: Cannot parse a value of type 'Object' from ''.
> --------------------------------------------------------------------
>
>                 Key: FLEX-33240
>                 URL: https://issues.apache.org/jira/browse/FLEX-33240
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mustella, MXML Compiler
>            Reporter: Cyrill Zadra
>              Labels: Falcon
>             Fix For: Apache Flex Next
>
>         Attachments: EmptyAttributeTest.mxml
>
>
> In the mustella tests theres a lot of mxml code that have an empty attribute. For instance to test if an attribute is set to empty string.
>      [java] Error: Cannot parse a value of type 'Object' from ' '.
>      [java]                             <SetProperty target="myCustomCCV.myCCV" propertyName=                                                                                                                                 "allowedFormatChars" value=" " />
>      [java] C:\dev\apache-flex\sdk\mustella\tests\Validators\CurrencyValidator\SWFs\Validator                                                                                                                                    s_Currency_Basic.mxml:21
>      [java] Error: Cannot parse a value of type 'Object' from ''.
>      [java]     backgroundColor="0xFFFFFF" backgroundImage="" xmlns:local="*">
>  [java] C:\dev\apache-flex\sdk\mustella\tests\Managers\PopUpManager\Methods\PopUpManager_methods.mxml:166
>      [java] Error: Cannot parse a value of type 'Object' from ''.
>      [java]                         <AssertPropertyValue target="ta" propertyName="text" value="" />

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira