{ "id": "130264", "key": "TIMOB-16982", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2014-05-10T17:57:31.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "i18n", "listview" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:31.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "The attached example app is based on the *List View with Custom Item Template* example in the [ListView docs|http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.ListView] to show that {{textid}} and similar {{properties}} currently don't seem to work in ListViews.\r\n\r\nA fragment of the {{app.js}}:\r\n{code:javascript}\r\nvar fruitDataSet = [\r\n { info: {textid: 'foo'}, es_info: {text: 'Manzana'}, pic: {image: 'apple.png'}},\r\n { info: {text: 'Banana'}, es_info: {text: 'Banana'}, pic: {image: 'banana.png'}}\r\n];\r\n{code}\r\n\r\nThe {{i18n/en/strings.xml}} source:\r\n{code:xml}\r\n\r\n\r\n bar\r\n\r\n{code}\r\n\r\nThe test app also has a red label overlaid on the ListView using the same {{textid}} to show that the string does work on a regular label.", "attachment": [ { "id": "47975", "filename": "textid.zip", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-05-10T17:57:31.000+0000", "size": 2988, "mimeType": "application/zip" } ], "flagged": false, "summary": "TiAPI: textid (and similar) properties not supported on ListView", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 3.2.3.GA\r\nCLI 3.2.3", "comment": { "comments": [ { "id": "305454", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue with the provided test case. Since textid property is neither supported nor documented, I am not sure if it is a bug or improvement request.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-19T06:12:26.000+0000", "updated": "2014-05-19T06:12:26.000+0000" }, { "id": "305457", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "It's not document because everything in a ListView template is is just regular Views, so every of those View's properties should be supported. So yes, it's a bug.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-05-19T06:18:29.000+0000", "updated": "2014-05-19T06:18:42.000+0000" }, { "id": "384186", "author": { "name": "clement", "key": "clement", "displayName": "Clément Blanco", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any update on that one?", "updateAuthor": { "name": "clement", "key": "clement", "displayName": "Clément Blanco", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-28T11:23:06.000+0000", "updated": "2016-04-28T11:23:06.000+0000" }, { "id": "384188", "author": { "name": "clement", "key": "clement", "displayName": "Clément Blanco", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Workaround found:\r\n{code:xml}{code}\r\nor\r\n{code:javascript}\r\nvar fruitDataSet = [\r\n { info: {text: L('foo')}, es_info: {text: 'Manzana'}, pic: {image: 'apple.png'}},\r\n { info: {text: 'Banana'}, es_info: {text: 'Banana'}, pic: {image: 'banana.png'}}\r\n];\r\n{code}", "updateAuthor": { "name": "clement", "key": "clement", "displayName": "Clément Blanco", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-28T11:36:55.000+0000", "updated": "2016-04-28T11:40:05.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }