{ "id": "175556", "key": "TIMOB-28148", "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": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" }, { "id": "21092", "name": "Release 9.2.1", "archived": false, "released": true, "releaseDate": "2020-10-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-10-07T17:41:23.000+0000", "created": "2020-09-22T12:23:11.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "58747", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "175077", "key": "TIMOB-27935", "fields": { "summary": "iOS: TableViewRow does not return getRect methods ", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-03T14:38:43.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 customer is experiencing a crash when updating tableview on 9.1.0.GA, the crash does not happen on 9.0.3.GA\r\n\r\n*Testcase*;\r\n\r\n{noformat}\r\nvar tableData = [];\r\n\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'white' });\r\n\r\nvar table = Ti.UI.createTableView({ objName: 'table' });\r\n\r\nfor (var i = 0; i <= 20; i++) {\r\n\tvar row = Ti.UI.createTableViewRow({ title: 'click me' });\r\n\r\n\tvar view = Ti.UI.createView({\r\n\t\tlayout: 'vertical',\r\n\t\theight: Ti.UI.SIZE,\r\n\t\ttouchEnabled: false,\r\n\t\twidth: \"50%\",\r\n\t\tleft: 0\r\n\t});\r\n\trow.add(view)\r\n\ttableData.push(row);\r\n}\r\n\r\ntable.setData(tableData);\r\n\r\ntable.addEventListener('click', function (e) {\r\n\tif (e.source && e.source.objName !== 'table') {\r\n\t\te.source.add(Ti.UI.createLabel({\r\n\t\t\ttext: 'REQUIRED',\r\n\t\t\tleft: '60%',\r\n\t\t\tcolor: 'blue',\r\n\t\t\thorizontalWrap: true,\r\n\t\t\twidth: \"40%\",\r\n\t\t\theight: Ti.UI.SIZE\r\n\t\t}));\r\n\r\n\t}\r\n});\r\n\r\nwin.add(table);\r\nwin.open();\r\n{noformat}\r\n\r\n*Actual*;\r\n\r\n{noformat}\r\n[ERROR] Script Error {\r\n[ERROR] column = 17;\r\n[ERROR] line = 25;\r\n[ERROR] message = \"-[TiUITableViewCell updateClipping]: unrecognized selector sent to instance 0x7ffd41312850\";\r\n[ERROR] nativeStack = \"3 UIKitCore 0x00007fff493a1aec -[UIResponder doesNotRecognizeSelector:] + 302\\n4 CoreFoundation 0x00007fff23e4286c ___forwarding___ + 1436\\n5 CoreFoundation 0x00007fff23e44b58 _CF_forwarding_prep_0 + 120\\n6 TitaniumKit0x0000000109c95f4e -[TiViewProxy add:] + 1507\\n7 TitaniumKit0x0000000109c95b08 -[TiViewProxy add:] + 413\\n8 CoreFoundation 0x00007fff23e44dec __invoking___ + 140\\n9 CoreFoundation 0x00007fff23e41fd1 -[NSInvocation invoke] + 321\\n10 TitaniumKit0x0000000109cb8c9b -[KrollMethod call:] + 1385\\n11 TitaniumKit0x0000000109cb7e87 __KrollCallAsFunction_block_invoke + 30\\n12 TitaniumKit0x0000000109cb7ca1 KrollCallAsFunction + 425\\n13 JavaScriptCore 0x00007fff26cc0073 _ZN3JSC16JSCallbackObjectINS_16JSNonFinalObjectEE4callEPNS_14JSGlobalObjectEPNS_9CallFrameE + 627\\n14 JavaScriptCore 0x00007fff2719380f _ZN3JSC5LLInt9setUpCallEPNS_9CallFrameENS_22CodeSpecializationKindENS_7JSValueEPNS_17LLIntCallLinkInfoE + 959\\n15 JavaScriptCore 0x00007fff26c7d58f llint_entry + 93330\\n16 JavaScriptCore 0x00007fff26c6674f vmEntryToJavaScript + 200\\n17 JavaScriptCore 0x00007fff2709d525 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549\\n18 JavaScriptCore 0x00007fff272d77ea _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170\\n19 JavaScriptCore 0x00007fff26cce5ac JSObjectCallAsFunction + 620\\n20 TitaniumKit0x0000000109c94b95 TiBindingEventProcess + 686\\n21 TitaniumKit0x0000000109cb6062 -[KrollContext invoke:] + 109\\n22 TitaniumKit0x0000000109cb60d5 -[KrollContext enqueue:] + 93\";\r\n[ERROR] sourceURL = \"file:///Users/axwaysu/Library/Developer/CoreSimulator/Devices/29BC7A6C-446A-4784-9B9A-27C6FC7310E3/data/Containers/Bundle/Application/F441AA81-63F8-4114-8DBE-24A7D927BE8B/support.app/app.js\";\r\n[ERROR] stack = \"[native code]\\nfile:///Users/axwaysu/Library/Developer/CoreSimulator/Devices/29BC7A6C-446A-4784-9B9A-27C6FC7310E3/data/Containers/Bundle/Application/F441AA81-63F8-4114-8DBE-24A7D927BE8B/support.app/app.js:25:17\";\r\n[ERROR] type = Error;\r\n[ERROR] } \r\n{noformat}\r\n\r\n*Expected*;\r\n\r\nNo crash and {{REQUIRED}} is displayed.\r\n", "attachment": [], "flagged": false, "summary": "iOS: app crashes when updating tableview", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "Appc SDK: 9.1.0.GA\r\nAppc NPM: 5.0.0\r\nAppc CLI: 8.1.0\r\nXcode: 11.7\r\nNode: 12.18.1\r\nNPM: 6.14.6", "closedSprints": [ { "id": 1206, "state": "closed", "name": "2020 Sprint 19", "startDate": "2020-09-14T20:01:00.000Z", "endDate": "2020-09-25T20:01:00.000Z", "completeDate": "2020-09-28T15:30:19.875Z", "originBoardId": 114 }, { "id": 1207, "state": "closed", "name": "2020 Sprint 20", "startDate": "2020-09-28T15:30:47.481Z", "endDate": "2020-10-09T15:30:00.000Z", "completeDate": "2020-10-09T16:33:43.453Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456979", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "[~amukherjee]/[~spulipakkam] can this be scheduled for the customer?", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2020-09-22T12:33:29.000+0000", "updated": "2020-09-22T12:33:29.000+0000" }, { "id": "456984", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Maybe it helps: Instead of setting the value on \"e.source\", set it to the actual row (which can be received by using e.row or the indices provided by the event).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-09-22T14:47:13.000+0000", "updated": "2020-09-22T14:47:13.000+0000" }, { "id": "457008", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/12128", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-23T23:59:05.000+0000", "updated": "2020-09-23T23:59:05.000+0000" }, { "id": "457020", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Looking at diffs between 9.0.3 and 9.1.0, this change related to TIMOB-27935 looks suspicious: https://github.com/appcelerator/titanium_mobile/commit/b15d1840c9be3cbf7cc74b10381e3656846f87b8", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-09-24T15:22:28.000+0000", "updated": "2020-09-24T15:22:28.000+0000" }, { "id": "457066", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened TIMOB-27935 which is causing this regression.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-28T19:51:50.000+0000", "updated": "2020-09-28T19:51:50.000+0000" }, { "id": "457128", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-02T12:54:42.000+0000", "updated": "2020-10-02T12:54:42.000+0000" }, { "id": "457170", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "This bug is no longer present if TIMOB-27935 is reverted (which I believe it is now). Ticket closed.", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-10-06T12:40:26.000+0000", "updated": "2020-10-06T12:40:26.000+0000" }, { "id": "457188", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to change the resolution to \"Fixed\"", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-07T17:41:04.000+0000", "updated": "2020-10-07T17:41:04.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }