Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-22223

[TLF 2496983] TextConverter.importToFlow() insensitive to upper-case characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Spark: FTETextField
    • None
    • Affected OS(s): Windows
      Affected OS(s):
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:

      1. run the following app
      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo">
      <s:layout><s:VerticalLayout gap="20" paddingTop="40" paddingLeft="40"/></s:layout>
      <fx:Script>
      <![CDATA[
      import flashx.textLayout.conversion.TextConverter;
      import spark.utils.TextFlowUtil;

      [Bindable] private var myString:String = "<a href='http://www.moothink.com/MOOK/'>click me</a>";
      ]]
      >
      </fx:Script>

      <s:RichEditableText id="myRET" text="

      {myString}

      "/>
      <s:RichEditableText id="myRET2" textFlow="

      {TextFlowUtil.importFromString(myString)}

      "
      editable="false" selectable="false"/>
      <s:RichEditableText id="myRET3" textFlow="

      {TextConverter.importToFlow(myString, TextConverter.TEXT_FIELD_HTML_FORMAT)}

      "
      editable="false" selectable="false"/>
      </s:Application>

      Actual Results: TextConverter.importToFlow() loses the caps in "http://www.moothink.com/MOOK"; returns "http://www.moothink.com/mook"

      Expected Results: upper case should be preserved.

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: