{ "id": "111074", "key": "TIMOB-13036", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15274", "description": "2013 Sprint 06 API", "name": "2013 Sprint 06 API", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-12T23:05:55.000+0000", "created": "2013-03-12T18:12:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "core", "ios", "qe-testadded", "regression" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:42.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": "Testing module TableView I ran in to issue that iOS Simulator launches with an application error.(See attached)\r\nIt applies to iOS device as well. \r\n\r\nAndroid works fine.\r\n\r\n*regression* works in 3.0.2.GA\r\n*Note*:\r\n3.1.0.v20130311190952 - fails\r\n3.1.0.v20130312015656 - fails\r\n3.1.0.v20130311151655 - works\r\n\r\n\r\n\r\nTest steps:\r\nRun the following code:\r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\n\r\nvar data = [\r\n{title:'Smoke_Sample', hasChild:true, level:\"smoke\"}\r\n]\r\nvar tableView = Ti.UI.createTableView();\r\n\r\ntableView.setData(data);\r\n\r\nwin.add(tableView);\r\nwin.open();\r\n{code}\r\nActual result:\r\n[ERROR] : \b\b \bScript Error {\r\n[ERROR] : \b\b \b backtrace = \"#0 () at :0\";\r\n[ERROR] : \b\b \b line = 8;\r\n[ERROR] : \b\b \b message = \"invalid method 'setData:withObject:'\";\r\n[ERROR] : \b\b \b sourceId = 316725760;\r\n[ERROR] : \b\b \b sourceURL = \"file://localhost/Users/oromero/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/CA47C5F2-C01C-48A5-9E11-06863A18B9A8/getwell.app/app.js\";\r\n[ERROR] : \b\b \b}\r\n\r\nExpected result:\r\nApp should launch with no error", "attachment": [ { "id": "36202", "filename": "fail.txt", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-12T18:12:26.000+0000", "size": 205097, "mimeType": "text/plain" }, { "id": "36201", "filename": "iOS Simulator Screen shot Mar 12, 2013 10.31.00 AM.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-12T18:12:26.000+0000", "size": 32813, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Application Error setting data with object at app.js", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.0.3.201302201202\r\nTitanium SDK, build: 3.1.0.v20130311190952\r\nCLI 3.0.25\r\nDevices:\r\niPhone5 6.1.2", "comment": { "comments": [ { "id": "241874", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed by https://github.com/appcelerator/titanium_mobile/pull/3958", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-12T23:05:55.000+0000", "updated": "2013-03-12T23:05:55.000+0000" }, { "id": "241877", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Vishal:)\r\nVerified fix with:\r\nTitanium Studio, build: 3.0.3.201302201202\r\nTitanium SDK, build: 3.1.0.v20130312145716\r\nios 6.1 Simulator \r\niPhone5 iOS 6.1.2", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-12T23:24:16.000+0000", "updated": "2013-03-12T23:27:11.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }