{ "id": "119020", "key": "ALOY-807", "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": "15670", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-08-28T17:47:14.000+0000", "created": "2013-08-26T12:32:40.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15570", "description": "Alloy 1.2.1", "name": "Alloy 1.2.1", "archived": false, "released": true, "releaseDate": "2013-08-27" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-22T13:21:18.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": "12333", "name": "Widgets" } ], "description": "This issue is also reproducible using 3.1.2.GA build.\r\n\r\nSteps - \r\n1) Used the same test code (https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-612)\r\n2) Packaged the app as \"Distribute Ad Hoc/Enterprise from Studio.\r\n3) Install the .ipa file on device.\r\n4) Launch the app.\r\n5) Click on button1, button2 and button3. Check the console log.\r\n\r\nActual Result - Style properties are not showing with runtime values in console.\r\n\r\nExpected Result - Style properties should show with runtime values.\r\n\r\nAdditional Info - If the same app directly execute on device from Studio then clicking on buttons (button1, button2 and button3) are showing the Style properties information in console log. For this the issue ALOY-612 is already verified and closed.\r\n", "attachment": [], "flagged": false, "summary": "Alloy: Style properties are not showing with runtime values on package distribution", "creator": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: 3.1.3.v20130822140128, 3.1.2.GA\r\nAlloy: 1.2.1-cr2\r\nAppcelerator Studio: 3.1.3.201308201707\r\nCLI: 3.1.2.GA\r\nACS: 1.0.6\r\nXcode - 4.6.3\r\nDevice - iPhone5 (v6.1.4)", "comment": { "comments": [ { "id": "268433", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marked as invalid.\n\nTi.API.info messages are not meant to be shown in the logs for projects being built for distribution. \n\nShowing JSON.stringify output in an alert screen, shows the style properties are behaving as expected.\n\ncontroller/index.js\n{code}\n$.index.open();\n\nvar style = require('alloy/styles/index');\nvar i, len;\t\nfor (i = 0, len = $.index.children.length; i < len; i++) {\n\tvar child = $.index.children[i];\n\tchild.addEventListener('click', function(e) {\n\t\tvar id = e.source.id;\n\t\t_.each(style, function(o) {\n\t\t\tif (o.key === id && o.isId) {\n\t\t\t\t// print each style that applies by ID to the source\n\t\t\t\tTi.API.info(JSON.stringify(o));\n\t\t\t\talert(JSON.stringify(o));\n\t\t\t}\n\t\t});\n\t});\n}\n{code}", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-27T20:05:25.000+0000", "updated": "2013-08-27T20:05:25.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }