You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Cyrill Zadra (JIRA)" <ji...@apache.org> on 2012/11/03 22:25:12 UTC
[jira] [Created] (FLEX-33240) Falcon Compile Error: Cannot parse a
value of type 'Object' from ''.
Cyrill Zadra created FLEX-33240:
-----------------------------------
Summary: 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
Fix For: Apache Flex Next
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
[jira] [Commented] (FLEX-33240) Falcon Compile Error: Cannot parse
a value of type 'Object' from ''.
Posted by "Michael Schmalle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLEX-33240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497136#comment-13497136 ]
Michael Schmalle commented on FLEX-33240:
-----------------------------------------
In my test an attribute of foo=" " will be collapsed to and empty non null "" String.
> 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
[jira] [Updated] (FLEX-33240) Falcon Compile Error: Cannot parse a
value of type 'Object' from ''.
Posted by "Cyrill Zadra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLEX-33240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cyrill Zadra updated FLEX-33240:
--------------------------------
Attachment: EmptyAttributeTest.mxml
> 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
[jira] [Resolved] (FLEX-33240) Falcon Compile Error: Cannot parse a
value of type 'Object' from ''.
Posted by "Michael Schmalle (JIRA)" <ji...@apache.org>.
[ 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