{ "id": "161152", "key": "AC-3873", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-28T18:14:58.000+0000", "created": "2016-06-16T16:57:31.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-28T18:14:58.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "I have a ListItem object in a ListView that I use data binding to bind some runtime properties to the item. Before updating Appcelerator everything worked great. However, when I installed the latest build for Appcelerator (4.6.0) I found that some of the properties were not being respected.\r\n\r\nSpecifically the right and left properties are now ignored at runtime thus throwing off my alignment. Below I have a code excerpt showing ListItem template and the data binding so you can see what is going on.\r\n\r\n// Data Binding for list item\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\nPrior to the update the layout above would create a little bubble that would show on either left or right of the screen conditionally. Now the bubbles only show on the left. The reason for the incorrect layout if because the \"container:left\" and \"container:right\" properties are being ignored. When I remove these properties from the data binding and manually set them in the template my layout works as expected.\r\n\r\nAlso, please note I have removed all layout code that is not relevant to the problem. At the end of the day the \"container:left\" and \"container:right\" properties are being ignored now. Any ideas what is going on here?", "attachment": [], "flagged": false, "summary": "ListItem property values from BindId no longer work after Appcelerator update.", "creator": { "name": "miken01", "key": "miken01", "displayName": "Mike Neill", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "miken01", "key": "miken01", "displayName": "Mike Neill", "active": true, "timeZone": "America/New_York" }, "environment": "OS X 10.11.5, Appcelerator Studio 4.6.0 and Appcelerator SDK 5.3.0 GA", "comment": { "comments": [ { "id": "388480", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nThe code you provided is not sufficient enough. There are some additional components missing. Please provide a full reproducible code and please explain the issue that is happening. Possibly with screenshots? Also, Please provide a full list of steps to follow for successful regeneration. \r\n\r\nRegards,\r\nSharif.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-16T18:15:56.000+0000", "updated": "2016-06-16T18:15:56.000+0000" }, { "id": "388530", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Probably. 5.3 still uses Alloy 1.8.7 and the last few fixes are only available in 1.9. I don't know why we actually continued to ship with 1.8.7 and not bumped to 1.9. [~cng]?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-06-17T06:58:47.000+0000", "updated": "2016-06-17T06:58:47.000+0000" }, { "id": "388570", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "looks like alloy 1.9 is tagged with 5.4.0. I'll make sure that happens.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-17T18:13:55.000+0000", "updated": "2016-06-17T18:13:55.000+0000" }, { "id": "388619", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Can we include Alloy 1.9.0 in 5.3.1 / 5.3.2 or make a Alloy 1.8.8 with that particular fix? Thank you.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-20T01:01:36.000+0000", "updated": "2016-06-20T01:01:36.000+0000" }, { "id": "388633", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~hansknoechel] AFAIK the only diff between 1.8.7 and 1.9.0 IS the refactored data binding which fixes this.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-06-20T07:42:21.000+0000", "updated": "2016-06-20T07:42:21.000+0000" }, { "id": "388646", "author": { "name": "miken01", "key": "miken01", "displayName": "Mike Neill", "active": true, "timeZone": "America/New_York" }, "body": "Is there a way to get 1.9 so I can fix the issue in my app? I've got a client who needs a build ASAP with this sorted.", "updateAuthor": { "name": "miken01", "key": "miken01", "displayName": "Mike Neill", "active": true, "timeZone": "America/New_York" }, "created": "2016-06-20T14:13:05.000+0000", "updated": "2016-06-20T14:13:05.000+0000" }, { "id": "388648", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~miken01] Install {{\\[sudo\\] npm install -g alloy}} and follow [this gist|https://gist.github.com/falkolab/da74a5fab2a7226090e357ab68426bf6], but be aware that this doesn't work together with LiveView (which will still use the bundled Alloy)", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-06-20T14:40:33.000+0000", "updated": "2016-06-20T14:40:33.000+0000" }, { "id": "388666", "author": { "name": "miken01", "key": "miken01", "displayName": "Mike Neill", "active": true, "timeZone": "America/New_York" }, "body": "Ok, I have updated Alloy to 1.9 via the gist above and it fixed my issues. I really appreciate the help @Fokke Zandbergen!", "updateAuthor": { "name": "miken01", "key": "miken01", "displayName": "Mike Neill", "active": true, "timeZone": "America/New_York" }, "created": "2016-06-20T17:04:08.000+0000", "updated": "2016-06-20T17:04:08.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }