{ "id": "147895", "key": "ALOY-1270", "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": [], "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": "2015-10-21T23:46:14.000+0000", "created": "2015-05-18T03:43:28.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15909", "description": "Alloy 1.5.0", "name": "Alloy 1.5.0", "archived": false, "released": true, "releaseDate": "2014-09-29" } ], "issuelinks": [ { "id": "49412", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "111135", "key": "ALOY-562", "fields": { "summary": "Order of TSS classes declaration has effect instead of order in which they are assigned to an object", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2015-10-22T04:14:09.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "When using the createStyle function - if you pass in multiple classes with font attributes, the font property is not being extended correctly. \r\n\r\nEx. \r\nIf you have a fontSize and a FontFamily, only one of them will be present.", "attachment": [ { "id": "57085", "filename": "app.zip", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-10-21T19:41:11.000+0000", "size": 4565, "mimeType": "application/zip" } ], "flagged": false, "summary": "createStyle", "creator": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "environment": "4.0.0.RC4", "comment": { "comments": [ { "id": "353072", "author": { "name": "jalo@emtnordic.com", "key": "jalo@emtnordic.com", "displayName": "Jacob Lorenzen", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Seems like there are some issues with the font object on styles. Looks like the same font object is used cross multiple calls to createStyle.\r\n\r\nEx.\r\nvar style1 = $.createStyle({classes:\"classWithFont1\"});\r\nvar style2 = $.createStyle({classes:\"classWithFont2\"});\r\nnow style1 will have the font from \"classWithFont2\"\r\n\r\n", "updateAuthor": { "name": "jalo@emtnordic.com", "key": "jalo@emtnordic.com", "displayName": "Jacob Lorenzen", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-05-20T13:34:44.000+0000", "updated": "2015-05-20T13:34:44.000+0000" }, { "id": "353077", "author": { "name": "jalo@emtnordic.com", "key": "jalo@emtnordic.com", "displayName": "Jacob Lorenzen", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Also if you use $.lbl.applyProperties({font:{fontSize:18}}); the font of the lbl will be set to default.", "updateAuthor": { "name": "jalo@emtnordic.com", "key": "jalo@emtnordic.com", "displayName": "Jacob Lorenzen", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-05-20T13:46:28.000+0000", "updated": "2015-05-20T13:46:28.000+0000" }, { "id": "367447", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Attached test app shows that given multiple classes with font attributes, the font property is extended correctly. \r\n\r\nAlso I'm not able to reproduce the issues on font object being used cross multiple calls to createStyle.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-10-21T19:49:13.000+0000", "updated": "2015-10-21T19:49:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }