{ "id": "155038", "key": "TIMOB-20455", "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": null, "resolutiondate": null, "created": "2016-02-19T18:38:45.000+0000", "priority": null, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:27.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "I have a derived controller that has exports.baseController set. I also don't have an xml and tss file as it is using the base controllers. In the derived controller I am trying to add a new component (button) with $.UI.create('Button', { classes: 'primary_button'}) and the classes from my app.tss file are not being used. The class gets used from the base controller and in other locations.\r\n\r\nUse attached zip file for the code to reproduce this problem.", "attachment": [ { "id": "58282", "filename": "app.zip", "author": { "name": "cthomas", "key": "cthomas", "displayName": "Christy Thomas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-19T18:36:52.000+0000", "size": 10160156, "mimeType": "application/zip" }, { "id": "58283", "filename": "Screenshot 2016-02-19 13.40.52.png", "author": { "name": "cthomas", "key": "cthomas", "displayName": "Christy Thomas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-19T18:41:12.000+0000", "size": 108565, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy: Classes in app.tss not working with $.UI.create() when a baseController is set but no tss or xml file", "creator": { "name": "cthomas", "key": "cthomas", "displayName": "Christy Thomas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cthomas", "key": "cthomas", "displayName": "Christy Thomas", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Using 4.1.1 Studio with 4.1.1.GA because of AC-297", "comment": { "comments": [ { "id": "377393", "author": { "name": "cthomas", "key": "cthomas", "displayName": "Christy Thomas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have attached a screenshot of what the app.zip code looks like when run. The Derived button is not using the 'primary_button' class.", "updateAuthor": { "name": "cthomas", "key": "cthomas", "displayName": "Christy Thomas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-19T18:41:52.000+0000", "updated": "2016-02-19T18:41:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }