Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14675] BlackBerry: using a Picker, app fails to run and triggers an exception

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionHold
Resolution Date2015-04-14T17:12:22.000+0000
Affected Version/sRelease 3.1.2
Fix Version/sn/a
ComponentsBlackBerry
Labelsdocumentation, look1, qe-3.1.2
ReporterFederico Casali
AssigneePedro Enrique
Created2013-07-26T04:27:42.000+0000
Updated2017-03-16T20:25:56.000+0000

Description

Problem description

Using a Picker, the app fails to run and an exception is triggered.

Steps to reproduce

Use the sample code attached (which is also available here: https://github.com/appcelerator/alloy/tree/master/test/apps/ui/picker ) 1. Run the App Result: App runs, splashscreen is displayed, then it crashes. From the log, I can see this error:
app/native/assets/alloy/controllers/index.js:26
    $.__views.column1 = Ti.UI.createPickerColumn({
                              ^
TypeError: Object [object Object] has no method 'createPickerColumn'
    at new Controller (app/native/assets/alloy/controllers/index.js:26:31)
    at Object.createController (app/native/assets/alloy.js:212:12)
    at app.js:3:7

Attachments

FileDateSize
app.zip2013-07-26T04:27:42.000+00004261224

Comments

  1. Tony Lukasavage 2013-07-26

    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. Is 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.
  2. Russell McMahon 2013-07-26

    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.
  3. Benjamin Hatfield 2013-07-26

    Just an FYI. Current documentation does not list BlackBerry as a supported platform for any of the Picker-related APIs.
  4. Russell McMahon 2013-07-27

    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.
  5. Ingo Muschenetz 2015-04-14

    Placing these items on hold for the moment based on community interest.
  6. Lee Morris 2017-03-16

    Closing ticket as BlackBerry is no longer supported by us.

JSON Source