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

5.1.X breaks ability to bind one collection to different views / reset collection

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.2.0, Release 5.1.2
    • Component/s: iOS
    • Environment:

      Mac OSX, Ti CLI 5.0.5, SDK 5.1.1.GA and 5.0.X.GA, Alloy 1.7.29

    • Story Points:
      8
    • Sprint:
      2015 Sprint 25 SDK

      Description

      The sample project here

      https://www.dropbox.com/s/q9lmvrx6nloyua5/wordtin.zip?dl=0

      exhibits odd behaviour when trying to bind a manually created backbone collection to two different views. If you run the code in 5.0.x.GA you can see words displayed on the screen which you can scroll through. Clicking the settings button reveals the same words (same collection) in a table – clicking the top right button will "reset" the words and change the collection.

      Run the project in 5.0.X and it works fine

      Run the project in 5.1.X and it crashes / hangs when attempting to render the second list (clicking settings) and also crashes trying to reset a collections contents.

      Run the project in 5.1.X with "execute in main thread" set to TRUE and it works as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                penrique Pedro Enrique (Inactive)
                Reporter:
                jasonkneen Jason Kneen
                Reviewer:
                Hans Knöchel
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code