Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23215

Windows: Data binding: Using attribute in ListItem that is not in data crashes view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
    • Environment:

      Windows phone

    • Story Points:
      13
    • Sprint:
      2016 Sprint 09 SDK

      Description

      I have a ListView with Data Binding set up. I have a transform function attached to the binding of a ListSection. But if my transform function doesn't return data the ListItem expects, it crashes the view/window or throws an error which is unusable (unknown error).

      So for example

      <ListItem myLabel:text="{labelText}" />
      

      But transform doesn't give the variable labelText, or (not 100% confirmed yet) it returns null/empty result. In this case it goes wrong.

      Happens with Alloy coupled with 5.2.0 and 5.2.1 and 5.3.0

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi (Inactive)
                Reporter:
                topener Rene Pot
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-9637
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration