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

Binding Problem when having multiple levels of binding where one of the elements is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FlexJS 0.8.0
    • Apache FlexJS 0.8.0
    • FlexJS, xJS
    • None

    Description

      In FlexJSExample there is a binding in Line 110 of ProductDetails.mxml there is the following line:

      <js:Label text="{cf.format(product.price)}" style="fontWeight:'bold'"/>
      

      If product is null then the binding produces an error complaining that it can't get the value of the "price" property of a null value. I think our binding should not produce this error.

      Attachments

        Activity

          People

            pete21 Piotr Zarzycki
            cdutz Christofer Dutz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: