Titanium JIRA Archive
Alloy (ALOY)

[ALOY-631] ListView in view markup throws error

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2013-04-20T19:46:44.000+0000
Affected Version/sAlloy 1.1.1, Alloy 1.1.0
Fix Version/sn/a
ComponentsXML
Labelsn/a
ReporterJamil Spain
AssigneeTony Lukasavage
Created2013-04-20T19:31:25.000+0000
Updated2014-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

FileDateSize
iOS Simulator Screen shot Apr 20, 2013 3.29.25 PM.png2013-04-20T19:31:25.000+000038728
ListView-test.zip2013-04-20T19:31:25.000+00007403310

Comments

  1. Tony Lukasavage 2013-04-20

    ListSection and ListItem are not supported in markup until Alloy 1.2.0. ListView is the only one supported as of 1.1.X. I will update the github repo samples to throw some kind of warning or error that tells developers this.
  2. Jamil Spain 2013-04-22

    Tony.. What is the approximate time frame that Alloy 1.2.0 might be released?

JSON Source