{ "id": "153566", "key": "TIMOB-20087", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" }, { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-02-20T15:58:12.000+0000", "created": "2015-12-02T15:08:09.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.2.0", "regression" ], "versions": [], "issuelinks": [ { "id": "50217", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "154105", "key": "TIMOB-20196", "fields": { "summary": "iOS: on ScrollableView is not possible to change views", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50017", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "152241", "key": "TIMOB-19760", "fields": { "summary": "iOS: Enabled main thread produces unexpected behavior", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50223", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "154131", "key": "TIMOB-20199", "fields": { "summary": "iOS: Views disappear from ScrollableView on change", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-02-21T19:41:31.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The sample project here\r\n\r\nhttps://www.dropbox.com/s/q9lmvrx6nloyua5/wordtin.zip?dl=0\r\n\r\nexhibits 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.\r\n\r\nRun the project in 5.0.X and it works fine\r\n\r\nRun 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.\r\n\r\nRun the project in 5.1.X with \"execute in main thread\" set to TRUE and it works as expected.", "attachment": [ { "id": "57654", "filename": "wordtin.zip", "author": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "created": "2015-12-02T15:07:56.000+0000", "size": 3437972, "mimeType": "application/zip" } ], "flagged": false, "summary": "5.1.X breaks ability to bind one collection to different views / reset collection", "creator": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "environment": "Mac OSX, Ti CLI 5.0.5, SDK 5.1.1.GA and 5.0.X.GA, Alloy 1.7.29", "closedSprints": [ { "id": 536, "state": "closed", "name": "2015 Sprint 25 SDK", "startDate": "2015-12-05T01:30:40.415Z", "endDate": "2015-12-19T01:30:00.000Z", "completeDate": "2015-12-29T03:19:42.127Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "371918", "author": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "body": "Note -- this got created under Appc Community -- but I am building with the Titanium CLI -- so ti build\r\n\r\n", "updateAuthor": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "created": "2015-12-02T15:08:53.000+0000", "updated": "2015-12-02T15:08:53.000+0000" }, { "id": "372328", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7553/files", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-07T19:10:47.000+0000", "updated": "2015-12-07T19:10:47.000+0000" }, { "id": "372371", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT passed. PR Merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-08T02:26:48.000+0000", "updated": "2015-12-08T02:26:48.000+0000" }, { "id": "372372", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport PR here: https://github.com/appcelerator/titanium_mobile/pull/7555", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-08T02:33:33.000+0000", "updated": "2015-12-08T02:33:33.000+0000" }, { "id": "372411", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~cng] would it be possible to merge this for 5.1.2.GA? Even though this ScrollView bug exists since 5.0.0.GA it wasn't showing because we mistakingly enabled main thread by default in 5.0.X which ironically counterbalanced it. But now we've fixed that in 5.1.0.GA this bug became effective and causing the described odd behaviour or even hanging the app on start.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-12-08T13:09:25.000+0000", "updated": "2015-12-08T13:11:51.000+0000" }, { "id": "373761", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.2 (15C50)\r\nStudio 4.4.0.201511241829\r\nTi SDK 5.1.2.v20151216190036\r\nAppc NPM 4.2.2\r\nAppc CLI 5.1.0\r\nXcode 7.2 (7C68)\r\n\r\nThe manually created collection can be seen on the two bound views without hanging or crashing. Tested with the sample app provided on iPad Sims and device with runOnMainThread explicitly set to false, true, and not set at all. ", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-01-04T23:14:53.000+0000", "updated": "2016-01-04T23:14:53.000+0000" }, { "id": "377376", "author": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "body": "In 5.2RC issue back. Please check my notes, here https://github.com/appcelerator/titanium_mobile/pull/7627/files", "updateAuthor": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-02-19T15:39:09.000+0000", "updated": "2016-02-19T15:39:09.000+0000" }, { "id": "377383", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Confirmed this issue is reproducible again, with environment:\r\n\r\nMacOS 10.11.3 (15D21)\r\nStudio 4.5.0.201602170821\r\nTi SDK 5.2.0.v20160216202526\r\nAppc NPM 4.2.3-2\r\nAppc CLI 5.2.0-269\r\nAlloy 1.7.33\r\nXcode 7.2 (7C68)\r\n\r\nApp freezes with {{}} set to false, but works as expected when set to true. Tested with provided app (removed the leading '/' from the path on line 21 of index.js) on iPad sims, iOS 9.2 and iPad 2, iOS 8.4.1", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-19T17:16:50.000+0000", "updated": "2016-02-19T17:16:50.000+0000" }, { "id": "377389", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR(Master): https://github.com/appcelerator/titanium_mobile/pull/7760\r\nPR(5_2_X): https://github.com/appcelerator/titanium_mobile/pull/7759", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-19T18:32:52.000+0000", "updated": "2016-02-19T18:32:52.000+0000" }, { "id": "377397", "author": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "body": "Next time I will do PR my self :)", "updateAuthor": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-02-19T19:05:30.000+0000", "updated": "2016-02-19T19:05:30.000+0000" }, { "id": "377402", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~nunocostapt] Okay sounds good :), extra enthusiasm by the community is always good and welcomed! Sorry for the delay on the PR, there is 3 or tickets all related to the same issue, was not able to re-procude it on the other 2. It was only thanks to Eric that we succeeded in re-producing it.", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-19T19:12:45.000+0000", "updated": "2016-02-19T19:13:02.000+0000" }, { "id": "377406", "author": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "body": "I tried linked all those ticked better as I could. Thanks!", "updateAuthor": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-02-19T19:46:38.000+0000", "updated": "2016-02-19T19:46:38.000+0000" }, { "id": "377420", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-20T00:32:09.000+0000", "updated": "2016-02-20T00:32:09.000+0000" }, { "id": "377437", "author": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "body": "CheeKiat Ng and Angel Petkov ,\r\n\r\n I tested all those before come up with my notes and the fix, seams all good!\r\n\r\n", "updateAuthor": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-02-20T13:20:15.000+0000", "updated": "2016-02-20T13:20:15.000+0000" }, { "id": "377442", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Regression fixed with the latest PR. Nevertheless, we need to focus the mentioned tickets to be double-checked when we support mainthread and autolayout by default.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-20T15:58:04.000+0000", "updated": "2016-02-20T15:58:04.000+0000" }, { "id": "377466", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.3 (15D21)\r\nStudio 4.5.0.201602170821\r\nTi SDK 5.2.0.v20160220080449\r\nAppc NPM 4.2.3-2\r\nAppc CLI 5.2.0-269\r\nAlloy 1.7.33\r\nXcode 7.2 (7C68)\r\n\r\nApp no longer freezes with {{}} set to false, true, or not set. Tested using provided sample app and tests provided in TIMOB-20138 and TIMOB-20196, on iOS 9.2 iPad sim and iOS 8.4.1 iPad 2", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-21T19:41:31.000+0000", "updated": "2016-02-21T19:41:31.000+0000" } ], "maxResults": 21, "total": 21, "startAt": 0 } } }