{ "id": "128084", "key": "TIMOB-16704", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-06-17T20:35:50.000+0000", "created": "2014-03-24T23:26:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "alloy", "android", "listview", "listviewitem", "template" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [ { "id": "38438", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "131699", "key": "TIMOB-17155", "fields": { "summary": "Android: ListView ListItems do not display in order if the borderWidth property is specified", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:09:42.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "In an Alloy Project, when rendering a ListView with ListItems using an external Custom template, sometimes the Views contained in the vertical layout will be rendered not in proper order. \r\n\r\nFor example, if my template contains a view with a vertical layout and inside it there are two child views, view A and view B, sometimes the order of the two will change, displaying sometimes A first and then B, while other times B will be first and A will be second.\r\n\r\nThe expected behaviour should be for view A to be displayed always first and then view B should be underneath view A.\r\n\r\nI'm supplying two images showing the expected behaviour and the unexpected behaviour, plus a test project, if the items aren't rendered as in the unexpected behaviour image close the app and try again, sometimes it happens the first time and others after 5 or 6 tries.\r\n\r\nIf the vertical layout is removed then the views overlaps on each other but which view is shown on top changes. For example, sometimes view A will be on top view B, while other times view B will be on top of view A. The expected behaviour here should be first view declared on the xml should be the one on the bottom while the last view declared on the xml should be the one on the top.\r\n\r\nThe unexpected behaviour happens at an inconsistent rate so it's hard to predict when will it happen or at least I haven't being able to pinpoint what triggers the bug. ", "attachment": [ { "id": "46827", "filename": "expected behaviour.png", "author": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T23:43:47.000+0000", "size": 162363, "mimeType": "image/png" }, { "id": "46826", "filename": "ListViewTemplateTest.zip", "author": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T23:43:47.000+0000", "size": 6041784, "mimeType": "application/zip" }, { "id": "46828", "filename": "unexpected behaviour.png", "author": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T23:43:47.000+0000", "size": 163733, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: when showing a listview with a custom template, child elements are displayed incorrectly", "creator": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSx 10.8.5\r\nTitanium Studio, build: 3.2.0.201312191547\r\nTitanium CLI 3.2.0\r\nTitanium SDK 3.2.0.GA\r\nAlloy version 1.2.2\r\nAndroid SDK 2.3.x-4.x\r\nTest Devices: Samsung Galaxy Player 5.0 with Android 2.3.5 and Sony Xperia Acro S with Android 4.1.2", "closedSprints": [ { "id": 121, "state": "closed", "name": "2014 Sprint 12 SDK", "startDate": "2014-06-09T21:51:17.043Z", "endDate": "2014-06-21T00:00:00.000Z", "completeDate": "2014-06-23T16:52:29.621Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "298743", "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 attached test case. ", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-26T04:30:13.000+0000", "updated": "2014-03-26T04:30:13.000+0000" }, { "id": "299637", "author": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I just want to inform that this ticket hasn't even received a priority level. Can I get some feedback please?", "updateAuthor": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-02T19:41:57.000+0000", "updated": "2014-04-02T19:41:57.000+0000" }, { "id": "307186", "author": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just to confirm, this is still happening in 3.2.3.GA.", "updateAuthor": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-02T17:19:45.000+0000", "updated": "2014-06-02T17:19:45.000+0000" }, { "id": "309394", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-17T20:35:39.000+0000", "updated": "2014-06-17T20:35:39.000+0000" }, { "id": "415087", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:09:42.000+0000", "updated": "2017-03-22T22:09:42.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }