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

<s:span /> inside of a RichText content declaration cannot handle "", but can handle null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Spark: RichText
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Language Found: English

    Description

      Steps to reproduce:

      <s:RichText width="100%" >
      <s:content>
      <s>
      <s:span fontWeight="bold">Last Updated:</s:span>
      <s:span>

      {hostComponent.lastUpdated}

      </s:span>
      </s>
      </s:content>
      </s:RichText>

      Actual Results:

      When hostComponent.lastUpdated is an empty string (not null) an error gets thrown that "" cannot be converted to an Array

      Expected Results:

      Handle as if null was provided, which does not cause an error

      Workaround (if any):

      always returning null instead of "", required updating all VOs, etc.

      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: