Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2421] ListView - crashes when using bindId="description"

GitHub Issuen/a
Resolution Date2013-11-20T18:19:52.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
LabelsListViews, template
ReporterMads Moller
AssigneeShak Hossain


ListView - crashes when using bindId="description" When I use the bindId "description" the app crashes. I guess you either map it to the objc description class method or similar restricted predefined key. Example:
	<Window id="win">
		<ListView id="listView" defaultItemTemplate="myCustomTemplat">
				<ItemTemplate name="myCustomTemplate">
					<Label id="title" bindId="title" />
					<Label id="description" bindId="description" />
				<ListItem title:text="Hello appx" description:text="this is some text"/>
				<ListItem title:text="This is a bug" description:text="this is some text 2"/>

This crashes.


  1. Pedro Enrique 2013-11-20

    Resolving as invalid, "description" is an internal reserved word.
  2. Mads Moller 2013-11-21

    Hi Pedro, Thats also super nice. But please document it then. I used several hours looking through my app, before figuring this out.
  3. Pedro Enrique 2013-11-21

  4. Fokke Zandbergen 2015-02-19

    [~penrique] can't we include a constant with these reserved keywords in the SDK and simply check against them in cases like these so we can inform the user instead of just crashing?

JSON Source