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

[Player 2223237] BindingUtils.bindProperty method produces unexpected warnings at runtime

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Adobe Flex SDK 4.0 (Release)
    • Fix Version/s: None
    • Component/s: Data Binding
    • Labels:
      None
    • Environment:
      Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Internet Explorer 8.x
      Language Found: English

      Description

      1. Run this application in Flash Builder in debug mode (using build 4.0.0.14159)
      -------------------------------------------------
      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      creationComplete="

      {bind()}

      ">
      <s:layout>
      <s:VerticalLayout/>
      </s:layout>
      <fx:Script>
      <![CDATA[
      import mx.binding.utils.BindingUtils;
      import spark.layouts.VerticalLayout;
      private function bind():void

      { BindingUtils.bindProperty(t2, "text", t1, "text"); }

      ]]
      >
      </fx:Script>
      <s:TextInput id="t1"/>
      <s:TextInput id="t2"/>
      </s:Application>
      -------------------------------------------------

      2. The application works well but the following warning appears on the Console:

      warning: multiple describeType entries for 'text' on type 'spark.components::TextInput':
      <accessor name="text" access="readwrite" type="String" declaredBy="spark.components.supportClasses::SkinnableTextBase">
      <metadata name="Bindable">
      <arg key="" value="textChanged"/>
      </metadata>
      <metadata name="Bindable">
      <arg key="" value="change"/>
      </metadata>
      </accessor>
      <accessor name="text" access="readwrite" type="String" declaredBy="spark.components.supportClasses::SkinnableTextBase">
      <metadata name="Bindable">
      <arg key="" value="textChanged"/>
      </metadata>
      <metadata name="Bindable">
      <arg key="" value="change"/>
      </metadata>
      </accessor>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: