[ALOY-688] Alloy: Runtime error occured in Binding Bars Sample app.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-05T21:10:38.000+0000 |
Affected Version/s | Alloy 1.1.3 |
Fix Version/s | Alloy 1.2.0, 2013 Sprint 12 |
Components | Samples & Templates |
Labels | qe-3.1.1 |
Reporter | Paras Mishra |
Assignee | Tony Lukasavage |
Created | 2013-06-05T09:02:43.000+0000 |
Updated | 2014-06-22T13:21:05.000+0000 |
Description
Alloy: Runtime error occurred in Binding Bars Sample app.
Steps to reproduce:
1. Run the following app as /test/apps/models/binding_bars.
Expected:
No runtime error should come and app should work fine.
Actual:
Runtime error occurs as "06-05 14:04:46.895: E/TiExceptionHandler(9714): (main) [0,510] - Message: Uncaught TypeError: Cannot call method 'createTabbedBar' of undefined"
This is an ios-only app. I will update the app to explicitly state this.
PR: https://github.com/appcelerator/alloy/pull/146 test app: https://github.com/appcelerator/alloy/tree/master/test/apps/models/binding_bars Functional test passes if the buttonbar, toolbar, and tabbedbar all show up when deployed to iOS. On all other platforms, you should see only a label that says the app is only supported on iOS.
Verified as fixed. Closing.