{ "id": "111189", "key": "TIMOB-13058", "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": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15280", "description": "2013 Sprint 06 JS", "name": "2013 Sprint 06 JS", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-21T21:51:25.000+0000", "created": "2013-03-14T01:48:25.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "listview", "qe-devCheck" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-04-02T01:17:17.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Current built process does not detect use of certain controls referenced in templates, e.g Ti.UI.Switch control below.\r\nAs a result, these cannot be found at runtime. \r\n{code}\r\n\tvar template = {\r\n\t\tproperties: {\r\n\t\t},\r\n\t\tchildTemplates: [\r\n\t\t{\r\n\t\t\ttype: 'Ti.UI.Label',\r\n\t\t\tbindId: 'bindLabel',\r\n\t\t\tproperties: {\r\n\t\t\t\tcolor: 'red',\r\n\t\t\t\tfont: { fontFamily:'Arial', fontSize: 13, fontWeight:'bold' },\r\n\t\t\t\tleft: 10,\r\n\t\t\t\twidth: 200, height: 30\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\ttype: 'Ti.UI.Switch',\r\n\t\t\tbindId: 'bindSwitch',\r\n\t\t\tproperties: {\r\n\t\t\t\tvalue: false,\r\n\t\t\t\tright: 10,\r\n\t\t\t\theight: 40\r\n\t\t\t},\r\n\t\t\tevents: {\r\n\t\t\t}\r\n\t\t}\r\n\t\t]\r\n\t};\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: detect control types in ListView templates", "creator": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS and Android", "comment": { "comments": [ { "id": "243087", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Quick workaround:\n{code}\n#ifdef USE_TI_UILISTVIEW\n#define USE_TI_UILABEL\n#define USE_TI_UIBUTTON\n#define USE_TI_UIPROGRESSBAR\n#define USE_TI_UIACTIVITYINDICATOR\n#define USE_TI_UISWITCH\n#define USE_TI_UISLIDER\n#define USE_TI_UITEXTFIELD\n#define USE_TI_UITEXTAREA\n#endif\n{code}", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-20T00:58:56.000+0000", "updated": "2013-03-20T00:58:56.000+0000" }, { "id": "243541", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4005", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T21:35:44.000+0000", "updated": "2013-03-21T21:35:44.000+0000" }, { "id": "245111", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on \nbuild : 8cbb9a6(githash) 3.1.0.v20130401144848\non Mac OSX 10.8\non Xcode 4.6 ", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T01:16:59.000+0000", "updated": "2013-04-02T01:16:59.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }