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

TitleBar lists titleText as optional, but throws exception when absent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: TabBar
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a custom TitleBar skin, making sure to not include a titleText.
      2. Create a TitleBar in your application, applying the skin.
      3. Set a title on the TitleBar

      Actual Results:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.

      Expected Results:
      Since titleText is optional, it should just not do anything with the title if it's set and no skin part exists.

      Workaround (if any):
      Put a titleText in your skin and set its visibility to false.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: