[ALOY-631] ListView in view markup throws error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-04-20T19:46:44.000+0000 |
Affected Version/s | Alloy 1.1.1, Alloy 1.1.0 |
Fix Version/s | n/a |
Components | XML |
Labels | n/a |
Reporter | Jamil Spain |
Assignee | Tony Lukasavage |
Created | 2013-04-20T19:31:25.000+0000 |
Updated | 2014-01-28T23:55:24.000+0000 |
Description
Mac OS X 10.7.5 Trying to use ListView for Customer Project.. on iOS, this shows an error: [ERROR] : Script Error { [ERROR] : backtrace = "#0 () at file://localhost/Users/jspain/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/2B65C434-6B53-4C2C-8C4A-EDB6E8DD5133/ListView.app/alloy.js:72"; [ERROR] : line = 24; [ERROR] : message = "-[TiUIListSectionProxy setParent:]: unrecognized selector sent to instance 0xaca8060"; [ERROR] : sourceId = 353754656; [ERROR] : sourceURL = "file://localhost/Users/jspain/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/2B65C434-6B53-4C2C-8C4A-EDB6E8DD5133/ListView.app/alloy/controllers/index.js"; [ERROR] : } This is the basic listview implemention from the following test code: https://github.com/appcelerator/alloy/blob/master/test/apps/ui/listview/views/basic.xml It seems to work fine if we create the code in controller.. Let me know if you need any more info.. Attached a test app.Attachments
File | Date | Size |
---|---|---|
iOS Simulator Screen shot Apr 20, 2013 3.29.25 PM.png | 2013-04-20T19:31:25.000+0000 | 38728 |
ListView-test.zip | 2013-04-20T19:31:25.000+0000 | 7403310 |