{ "id": "62958", "key": "TIMOB-2326", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-20T14:47:00.000+0000", "created": "2011-04-15T03:16:47.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "19060", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:02:53.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": "{html}

I am attaching a sample project that should be reproducible.\nSimply use the attached files, app.js and scrollview.js.

\n

This will create a scrollable view, with every page having a\ntitle, Page [num]. When started, the app will show page\n2, and as you scroll to the right, new pages will be added\ndynamically.

\n

Keep scrolling to the right in a swift pace, and the application\nwill eventually freeze or crash. I usually can't get past page 10,\nthough it should go up to 29.

\n

With the 1.4.x SDK, the application freezes, with the latest\n1.5.0 it will crash.

\n

iPhone SDK is 4.1.

\n

I have not run this application on the physical phone yet, only\nin the simulator.

{html}", "attachment": [ { "id": "18135", "filename": "app.js", "author": { "name": "ingmarkoecher", "key": "ingmarkoecher", "displayName": "Ingmar Koecher", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:16:47.000+0000", "size": 1213, "mimeType": "application/x-javascript" }, { "id": "18136", "filename": "scrollview.js", "author": { "name": "ingmarkoecher", "key": "ingmarkoecher", "displayName": "Ingmar Koecher", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:16:47.000+0000", "size": 2331, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Multiple createLabel() calls inside ScrollableView freeze/crash", "creator": { "name": "ingmarkoecher", "key": "ingmarkoecher", "displayName": "Ingmar Koecher", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingmarkoecher", "key": "ingmarkoecher", "displayName": "Ingmar Koecher", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "208742", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "app bug in scrollview.js. Modify lines 60 thru 66 as follows\r\n{code}\r\nvar maxPages = 29;\r\n\r\n// Create all empty views\r\nfor (var i = 0; i <= maxPages; i++)\r\n{\r\n\tscrollViews[i] = Titanium.UI.createView({backgroundColor:'gray'});\r\n}\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-20T14:47:00.000+0000", "updated": "2012-07-20T14:47:00.000+0000" }, { "id": "410904", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:02:53.000+0000", "updated": "2017-03-09T23:02:53.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }