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

When reporting warnings for invalid styles, component name should also be included in the warning

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Compile attached mxml using -theme=Graphical.css

      Actual Results:
      framework.swc$defaults.css(1561): Warning: The style 'borderColor' is only supported by the theme(s) 'halo, spark'.
      framework.swc$defaults.css(1559): Warning: The style 'backgroundColor' is only supported by the theme(s) 'halo, spark'.
      framework.swc$defaults.css(1564): Warning: The style 'cornerRadius' is only supported by the theme(s) 'halo, spark'.
      framework.swc$defaults.css(1561): Warning: The style 'backgroundAlpha' is only supported by the theme(s) 'halo, spark'.
      spark.swc$defaults.css(65): Warning: The style 'backgroundColor' is only supported by the theme(s) 'spark'.
      Graphical.css(592): Warning: The style 'borderColor' is only supported by the theme(s) 'halo'.
      borderColor: #FF00FF;
      Graphical.css(599): Warning: The style 'borderColor' is only supported by the theme(s) 'halo'.
      borderColor: #FF00FF;
      Graphical.css(604): Warning: The style 'borderColor' is only supported by the theme(s) 'halo'.
      borderColor: #FFFF00;
      Graphical.css(610): Warning: The style 'borderColor' is only supported by the theme(s) 'halo'.
      borderColor: #FFFF00;

      Expected Results:
      The component name in the warning. For example the first warning is for ToolTip. But there is no way, without looking at the defaults.css, to tell the associated component

      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: