{ "id": "118089", "key": "AC-1860", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-09-17T07:12:45.000+0000", "created": "2013-08-07T16:10:58.000+0000", "labels": [ "Alloy", "Style", "TTS" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:46.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": "This is test case:\r\n*app.tss*\r\n{code:json}\r\n\".price\": {\r\n color: \"white\",\r\n backgroundColor: \"black\"\r\n}\r\n{code}\r\n\r\n*myclass.tss*\r\n{code}\r\n\".price\":{\r\n color: \"black\",\r\n backgroundColor: \"white\"\r\n}\r\n{code}\r\n\r\n*myclass.xml*\r\n{code:xml}\r\n\r\n \r\n{code}\r\n\r\nif you test it, you can see the label color is same app.tss style not myclass.tss", "attachment": [], "flagged": false, "summary": "Element style does not overwrite on global style with same name", "creator": { "name": "navid_gh", "key": "navid_gh", "displayName": "Navid Ghahramani", "active": true, "timeZone": "Asia/Tehran" }, "subtasks": [], "reporter": { "name": "navid_gh", "key": "navid_gh", "displayName": "Navid Ghahramani", "active": true, "timeZone": "Asia/Tehran" }, "environment": "Android, Alloy 1.2", "comment": { "comments": [ { "id": "271437", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello Navid Ghahramani,\r\n\r\nI checked your test code. I can't reproduce this bug. Please see my test code \r\n\r\nIndex.xml\r\n\r\n{code}\r\n\r\n\t\r\n\t\t \r\n\t\r\n\r\n{code}\r\nindex.tss\r\n{code}\r\n \"Window\":{\r\n \tbackgroundColor: 'red'\r\n }\r\n\r\n\".price\": {\r\n color: \"#000\",\r\n backgroundColor: \"black\"\r\n }\r\n\r\n{code}\r\n\r\n\r\nmyclass.xml\r\n\r\n{code}\r\n\r\n \r\n{code}\r\nmyclass.tss\r\n{code}\r\n\r\n\".price\": {\r\n color: \"#ff0000\",\r\n backgroundColor: \"black\"\r\n }\r\n{code}\r\n\r\nTest Environment:\r\n\r\nAlloy Version: 1.2.0\r\nOS: OS X 10.8.4\r\n\r\nAndroid Version: 2.3.3\r\n\r\n\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-17T07:12:45.000+0000", "updated": "2013-09-17T07:12:45.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }