{ "id": "117632", "key": "TIMOB-14675", "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": "6", "description": "", "name": "Hold" }, "resolutiondate": "2015-04-14T17:12:22.000+0000", "created": "2013-07-26T04:27:42.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "documentation", "look1", "qe-3.1.2" ], "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": "2017-03-16T20:25:56.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "h5. Problem description\r\nUsing a Picker, the app fails to run and an exception is triggered. \r\n\r\nh5. Steps to reproduce\r\nUse the sample code attached (which is also available here: https://github.com/appcelerator/alloy/tree/master/test/apps/ui/picker )\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{code}\r\napp/native/assets/alloy/controllers/index.js:26\r\n $.__views.column1 = Ti.UI.createPickerColumn({\r\n ^\r\nTypeError: Object [object Object] has no method 'createPickerColumn'\r\n at new Controller (app/native/assets/alloy/controllers/index.js:26:31)\r\n at Object.createController (app/native/assets/alloy.js:212:12)\r\n at app.js:3:7\r\n{code}\r\n\r\n", "attachment": [ { "id": "41064", "filename": "app.zip", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T04:27:42.000+0000", "size": 4261224, "mimeType": "application/zip" } ], "flagged": false, "summary": "BlackBerry: using a Picker, 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": "263399", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It would appear that BB has not yet implemented multiple columns for pickers. The error clearly states that the Titanium API function createPickerColumn() 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:33:50.000+0000", "updated": "2013-07-26T14:33:50.000+0000" }, { "id": "263401", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Tony for investigating. This is a BB platform issue. Even if we don't fully implement the picker column because it's not supported in BB native we can stub it out and so app will not crash. ", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T14:42:38.000+0000", "updated": "2013-07-26T14:42:38.000+0000" }, { "id": "263441", "author": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Just an FYI. Current documentation does not list BlackBerry as a supported platform for any of the Picker-related APIs.", "updateAuthor": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T17:36:45.000+0000", "updated": "2013-07-26T17:36:45.000+0000" }, { "id": "263539", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just to add to Ben's comments our current BB NDK support is 10.0.9 and the picker support in 10.0.9 was minimal just a date time picker, and we do support that but the more common standard picker will only be available when we support 10.1 and above. For now a picker can be built using a table view and a conditional in the Alloy code.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-27T00:23:12.000+0000", "updated": "2013-07-27T00:26:13.000+0000" }, { "id": "349477", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Placing these items on hold for the moment based on community interest.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-14T17:12:22.000+0000", "updated": "2015-04-14T17:12:22.000+0000" }, { "id": "412876", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as BlackBerry is no longer supported by us.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T20:25:56.000+0000", "updated": "2017-03-16T20:25:56.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }