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

Invalid values for enumerated style attributes of MXML tags should cause compilation errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Write an app with a tag setting an invalid value for a style that has enumerated values, such as <s:SimpleText fontWeight="whatever"/>

      Actual Results:
      No compilation error.

      Expected Results:
      Compilation error saying that 'whatever' is not a valid value for the 'fontWeight' style, just like when you do <mx:Button labelPlacement="whatever"/> and get an error saying that 'whatever' is not a valid value for the 'labelPlacement' property.

      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: