{
"id": "131838",
"key": "ALOY-1055",
"fields": {
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
},
"project": {
"id": "11113",
"key": "ALOY",
"name": "Alloy",
"projectCategory": {
"id": "10400",
"description": "Tools for developing applications",
"name": "Tooling"
}
},
"fixVersions": [
{
"id": "15909",
"description": "Alloy 1.5.0",
"name": "Alloy 1.5.0",
"archived": false,
"released": true,
"releaseDate": "2014-09-29"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2014-06-30T20:25:01.000+0000",
"created": "2014-06-17T18:02:40.000+0000",
"priority": {
"name": "Medium",
"id": "3"
},
"labels": [
"qe-3.3.0",
"qe-closed-3.4.0",
"qe-manualtest",
"qe-testadded"
],
"versions": [],
"issuelinks": [
{
"id": "38483",
"type": {
"id": "10003",
"name": "Relates",
"inward": "relates to",
"outward": "relates to"
},
"outwardIssue": {
"id": "131939",
"key": "TIMOB-17185",
"fields": {
"summary": "iOS: a ListView included in a ScrollableView is not correctly displayed",
"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"
}
},
"priority": {
"name": "Medium",
"id": "3"
},
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
}
}
}
}
],
"assignee": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"updated": "2014-08-20T09:47:16.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": "12326",
"name": "XML",
"description": "View XML and parsing"
}
],
"description": "It is not possible to put ListView with Templates inside a ScrollableView. Application will throw an error:\r\n\r\n{code}\r\n[ERROR] : Script Error {\r\n[ERROR] : backtrace = \"#0 () at file:///.../myApp.app/alloy.js:231\";\r\n[ERROR] : line = 58;\r\n[ERROR] : message = \"-[NSNull krollObjectForBridge:]: unrecognized selector sent to instance 0x45c3068\";\r\n[ERROR] : sourceId = 301210048;\r\n[ERROR] : sourceURL = \"file:///.../myApp.app/alloy/controllers/index.js\";\r\n[ERROR] : }\r\n{code}\r\n\r\nindex.xml\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nDiscussion: http://developer.appcelerator.com/question/175229/-nsnull-krollobjectforbridge-unrecognized-selector-sent-to-instance-0x45c3068",
"attachment": [
{
"id": "49083",
"filename": "Screen Shot 2014-06-18 at 2.24.27 PM.png",
"author": {
"name": "fcasali",
"key": "fcasali",
"displayName": "Federico Casali",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-06-18T23:11:35.000+0000",
"size": 76093,
"mimeType": "image/png"
}
],
"flagged": false,
"summary": "iOS: build fails using a ScrollableView that contains a ListView using Templates",
"creator": {
"name": "sko",
"key": "sko",
"displayName": "Matej",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "sko",
"key": "sko",
"displayName": "Matej",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": "TiSDk 3.3.0.v20140617161713 \r\nAppcelerator Studio 3.3.0.201406171619 \r\nCLI 3.3.0-rc\r\nAlloy 1.4.0-rc and 1.3.1.GA",
"closedSprints": [
{
"id": 147,
"state": "closed",
"name": "2014 Sprint 13 Alloy",
"startDate": "2014-06-23T14:36:08.509Z",
"endDate": "2014-07-04T00:00:00.000Z",
"completeDate": "2014-07-07T16:06:44.759Z",
"originBoardId": 124
}
],
"comment": {
"comments": [
{
"id": "309517",
"author": {
"name": "sliang",
"key": "sliang",
"displayName": "Shuo Liang",
"active": true,
"timeZone": "Asia/Harbin"
},
"body": "seems a small bug here. For now, you'd better use view as the parent level, and I will notice to our engineer team to take care of this bug.",
"updateAuthor": {
"name": "sliang",
"key": "sliang",
"displayName": "Shuo Liang",
"active": true,
"timeZone": "Asia/Harbin"
},
"created": "2014-06-18T06:34:28.000+0000",
"updated": "2014-06-18T06:34:28.000+0000"
},
{
"id": "309520",
"author": {
"name": "sliang",
"key": "sliang",
"displayName": "Shuo Liang",
"active": true,
"timeZone": "Asia/Harbin"
},
"body": "I can reproduce this problem with:\r\nTi 3.3.0.RC, \r\niOS Simulator 7.1\r\n",
"updateAuthor": {
"name": "sliang",
"key": "sliang",
"displayName": "Shuo Liang",
"active": true,
"timeZone": "Asia/Harbin"
},
"created": "2014-06-18T07:20:32.000+0000",
"updated": "2014-06-18T07:20:32.000+0000"
},
{
"id": "309671",
"author": {
"name": "emerriman",
"key": "emerriman",
"displayName": "Eric Merriman ",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "[~fcasali] Could you take a look and see if you can narrow down root cause? I asked if you could determine if regression, but Sam mentions he can see it with 3.3.0, so that combined with the reported affected version of 3.2.3 (assuming alloy 1.3.1 here) makes me think not a regression in the SDK nor Alloy, but not sure before 3.2.3 or 1.3.1.",
"updateAuthor": {
"name": "emerriman",
"key": "emerriman",
"displayName": "Eric Merriman ",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-06-18T19:14:58.000+0000",
"updated": "2014-06-18T19:17:34.000+0000"
},
{
"id": "309748",
"author": {
"name": "fcasali",
"key": "fcasali",
"displayName": "Federico Casali",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updateAuthor": {
"name": "fcasali",
"key": "fcasali",
"displayName": "Federico Casali",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-06-18T23:11:12.000+0000",
"updated": "2014-07-29T17:18:59.000+0000"
},
{
"id": "311397",
"author": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"body": "PR: https://github.com/appcelerator/alloy/pull/464\r\n\r\nTest app: https://github.com/skypanther/alloy/tree/ALOY-1055/test/apps/testing/ALOY-1055\r\nPlus, also test using the ui/listview test app\r\n\r\nBoth should run without error and display the listviews. The 1055 test app should display the listview (which has templates) within the scrollable view, swipe right for the second view, which also contains a listview (without a template).",
"updateAuthor": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"created": "2014-06-27T20:53:27.000+0000",
"updated": "2014-06-27T20:53:27.000+0000"
},
{
"id": "311491",
"author": {
"name": "sko",
"key": "sko",
"displayName": "Matej",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "I have got one question. If I do something like this:\r\n\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nAnd then in the widget I'll check `arguments[0].children` it contains `ItemTemplates` and as the last thing is the ListView. Is it normal? It shouldn't work like this or am I wrong?",
"updateAuthor": {
"name": "sko",
"key": "sko",
"displayName": "Matej",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-06-28T14:07:22.000+0000",
"updated": "2014-06-28T14:09:38.000+0000"
},
{
"id": "311671",
"author": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"body": "[~sko] That appears to be an unrelated issue with the ListView parser. I've added ALOY-1064 to describe and track the issue you noted.\r\n\r\nOn that ticket, I noted a workaround: reference the children array like this:\r\n\r\n{code}\r\nvar kids = _.compact(arguments[0].children);\r\nTi.API.info(JSON.stringify(kids));\r\n{code}",
"updateAuthor": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"created": "2014-06-30T19:29:47.000+0000",
"updated": "2014-06-30T19:29:47.000+0000"
},
{
"id": "311673",
"author": {
"name": "sko",
"key": "sko",
"displayName": "Matej",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Tim Poulsen, yes I know sorry for that I just wanted to know if that's really an issue or normal behaviour.",
"updateAuthor": {
"name": "sko",
"key": "sko",
"displayName": "Matej",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-06-30T19:46:00.000+0000",
"updated": "2014-06-30T19:46:00.000+0000"
},
{
"id": "311678",
"author": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"body": "PR merged",
"updateAuthor": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"created": "2014-06-30T20:25:01.000+0000",
"updated": "2014-06-30T20:25:01.000+0000"
},
{
"id": "319441",
"author": {
"name": "djha",
"key": "djha",
"displayName": "Dhirendra Jha",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Environment - \r\nAppc Studio - 3.4.0.201408180158 \r\nSDK - 3.4.0.v20140819094113 \r\nacs - 1.0.16 \r\nalloy - 1.5.0-dev \r\nnpm - 1.3.2 \r\ntitanium - 3.4.0-dev \r\ntitanium-code-processor - 1.1.1 \r\nOS - mavericks (v10.9.4) \r\nXcode - 6Beta5\r\nDevice - iPhone5(v7.1.2), Nexus5(v54.4.4)\r\n\r\nResult - Tested both the apps (test/apps/testing/ALOY-1055 and ui/listview). Both apps run without error and display the listviews. Hence closing this issue.",
"updateAuthor": {
"name": "djha",
"key": "djha",
"displayName": "Dhirendra Jha",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-08-20T09:35:20.000+0000",
"updated": "2014-08-20T09:38:13.000+0000"
}
],
"maxResults": 10,
"total": 10,
"startAt": 0
}
}
}