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

some deprecation warnings are missed (only one reported per line)..

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • 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 the attached test case.

      Actual Results:

      gettersDeprecated_attributeBinding.mxml(12): Warning: 'identification' has been deprecated.
      <mx:Button enabled="

      {dg.enabled}" visible="{dg.visible}" label="{dg.identifi cation}"

      gettersDeprecated_attributeBinding.mxml(13): Warning: 'y' has been deprecated. Please use 'newY()'.
      width="{dg.width}" height="{dg.height}" x="{dg.x}" y="{dg.y}" />

      gettersDeprecated_attributeBinding.mxml(14): Warning: 'dataProvider' has been deprecated since 3.0. Please use 'data'.
      <mx:List dataProvider="{dg.dataProvider}" />

      gettersDeprecated_attributeBinding.mxml(15): Warning: deprecated for testing
      <mx:Text text="{dg.description}" />

      Expected Results:
      warnings are also expected for other deprecated attributes like visible, enabled etc.

      Workaround (if any):
      make sure only one attribute is specified per line. like:

      <mx:Button
      enabled="{dg.enabled}

      "
      visible="

      {dg.visible}

      "
      label="

      {dg.identification}

      "
      width="

      {dg.width}

      "
      height="

      {dg.height}

      "
      x="

      {dg.x}

      "
      y="

      {dg.y}

      " />

      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: