[
https://issues.apache.org/jira/browse/FLEX-33988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Wilkinson updated FLEX-33988:
------------------------------------
Description:
Discovered from copying a shortcut from my Windows desktop to the clipboard.
Use the attached following code in an AIR application to reproduce:
was:
Discovered from copying a shortcut from my Windows desktop to the clipboard.
Use the following code in an AIR application to reproduce:
{code}
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="windowedapplication1_creationCompleteHandler(event)">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function
windowedapplication1_creationCompleteHandler(event:FlexEvent):void {
//any format which isn't TEXT_LAYOUT_FORMAT,
TEXT_FIELD_HTML_FORMAT, or PLAIN_TEXT_FORMAT
Clipboard.generalClipboard.setData("fileFormat", new ByteArray());
}
]]>
</fx:Script>
<s:Label text="Ctrl+V in the following box:"/>
<s:TextInput top="30"/>
</s:WindowedApplication>
{code}
> RTE when pasting invalid data from clipboard
> --------------------------------------------
>
> Key: FLEX-33988
> URL: https://issues.apache.org/jira/browse/FLEX-33988
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: TextInput
> Affects Versions: Apache Flex 4.11.0
> Environment: Adobe AIR 3.8 / 3.9 Windows 7
> Reporter: Marcus Wilkinson
>
> Discovered from copying a shortcut from my Windows desktop to the clipboard.
> Use the attached following code in an AIR application to reproduce:
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)