{ "id": "117633", "key": "TIMOB-14676", "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": "15564", "description": "2013 Sprint 15 API", "name": "2013 Sprint 15 API", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-29T20:32:37.000+0000", "created": "2013-07-26T04:33:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:24.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": [], "description": "Problem description\r\nUsing a TableView with tableViewSections, the app fails to run and an exception is triggered.\r\n\r\nSteps to reproduce\r\nUse the sample code:\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nalso available here: http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.TableView\r\n\r\n1. Run the App\r\nResult: App runs, splashscreen is displayed, then it crashes.\r\n\r\nFrom the log, I can see this error:\r\n\r\n{code}\r\napp/native/assets/alloy/controllers/table.js:12\r\n $.__views.__alloyId5 = Ti.UI.createTableViewSection({\r\n ^\r\nTypeError: Object [object Object] has no method 'createTableViewSection'\r\n at new Controller (app/native/assets/alloy/controllers/table.js:12:34)\r\n at Object.createController (app/native/assets/alloy.js:212:12)\r\n at new Controller (app/native/assets/alloy/controllers/index.js:17:35)\r\n at Object.createController (app/native/assets/alloy.js:212:12)\r\n at app.js:3:7\r\n{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: using tableViewSections, app fails to run and triggers an exception", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.1.2.v20130725110651\r\nAlloy 1.2.0\r\nAppcelerator Studio 3.1.2.201307232148\r\nCLI 3.1.2\r\nNode 0.8.22", "comment": { "comments": [ { "id": "263400", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It would appear that BB has not yet implemented tableviewsections. The error clearly states that the Titanium API function createTableViewSection() is not defined on the picker itself. \n\nIs this the expectation? Is this meant to be implemented for 3.1.2? If not, [~bhatfield] is this accounted for in the API docs? If this will not be implemented in 3.1.2, I can write a conditional in the app to only show the single column version on BB.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T14:37:00.000+0000", "updated": "2013-07-26T14:37:00.000+0000" }, { "id": "263402", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The Titanium createTableViewSection() was added to master so this needs investigation today. ", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T14:45:06.000+0000", "updated": "2013-07-26T14:45:06.000+0000" }, { "id": "263832", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-30T00:23:24.000+0000", "updated": "2013-07-30T00:23:24.000+0000" }, { "id": "265795", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Application is not crashing.\n'tableViewSections' header text not showing issue has been addressed separately.\n\nTitanium SDK 3.1.2.v20130808180613 \nAlloy 1.2.0-alpha6\nAppcelerator Studio 3.1.2.201308071912\nCLI 3.1.2-alpha\nNode 0.10.13\n\nClosing.\n", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-09T21:43:39.000+0000", "updated": "2013-08-09T21:43:39.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }