{ "id": "172703", "key": "AC-6050", "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": "10000", "description": "", "name": "Done" }, "resolutiondate": "2019-01-02T20:56:34.000+0000", "created": "2018-12-05T08:25:21.000+0000", "labels": [ "CLI7.0.9" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-01-02T20:58:40.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": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "attachment": [ { "id": "65947", "filename": "alloy-theme-test.zip", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-05T08:23:46.000+0000", "size": 714545, "mimeType": "application/zip" } ], "flagged": false, "summary": "Alloy does not apply theme defined in config.json", "creator": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "12/5/2018, 9:19:35 AM\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.14\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\n\r\nNode.js\r\n Node.js Version = 10.14.1\r\n npm Version = 6.4.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\n\r\nTitanium SDK\r\n SDK Version = 7.4.0.GA\r\n SDK Path = /Users/Brian/Library/Application Support/Titanium/mobilesdk/osx/7.4.0.GA\r\n Target Platform = iphone\r\n", "comment": { "comments": [ { "id": "444260", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "the issue seems to be related with \r\n{code:javascript}\r\nvar cRequire = afs.resolvePath(__dirname, '..', 'Alloy', 'commands', 'compile', 'index.js'),\r\n\t\t\tconfig = {\r\n\t\t\t\ttheme: cli.argv['theme'] ? cli.argv['theme'] : null,\r\n\t\t\t\tplatform: /(?:iphone|ipad)/.test(cli.argv.platform) ? 'ios' : cli.argv.platform,\r\n\t\t\t\tversion: '0',\r\n\t\t\t\tsimtype: 'none',\r\n\t\t\t\tdevicefamily: /(?:iphone|ios)/.test(cli.argv.platform) ? deviceFamily : 'none',\r\n\t\t\t\tdeploytype: deployType || cli.argv['deploy-type'] || 'development',\r\n\t\t\t\ttarget: target\r\n\t\t\t};\r\n{code}\r\n\r\nas it doesn't read the teme property from config.json\r\n\r\ncomparing with an older project \r\n\r\n\r\n{code:javascript}\r\nvar cRequire = afs.resolvePath(__dirname, '..', 'Alloy', 'commands', 'compile', 'index.js'),\r\n\t\t\tconfig = {\r\n\t\t\t\tplatform: /(?:iphone|ipad)/.test(cli.argv.platform) ? 'ios' : cli.argv.platform,\r\n\t\t\t\tversion: '0',\r\n\t\t\t\tsimtype: 'none',\r\n\t\t\t\tdevicefamily: /(?:iphone|ios)/.test(cli.argv.platform) ? deviceFamily : 'none',\r\n\t\t\t\tdeploytype: deployType || cli.argv['deploy-type'] || 'development',\r\n\t\t\t\ttarget: target\r\n\t\t\t};\r\n{code}", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-05T08:35:13.000+0000", "updated": "2018-12-05T08:36:36.000+0000" }, { "id": "444268", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~bgarcia], I believe ALOY-1638 fixes this issue as it will now only set the theme property in the config if the {{--theme}} flag is passed in.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-05T10:59:26.000+0000", "updated": "2018-12-05T10:59:26.000+0000" }, { "id": "444269", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I see, it turns out that the Alloy plugin packaged with the CLI is not the latest with the fix, so I need to specify my projects to use the global one", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-05T11:13:25.000+0000", "updated": "2018-12-05T11:13:35.000+0000" }, { "id": "444902", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nJust passing as update here. Are you able to get that sorted out?  Please let us know your current status and if you need more help with this issue.\r\nRegards,\r\nRakhi", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-02T04:40:22.000+0000", "updated": "2019-01-02T04:40:22.000+0000" }, { "id": "444921", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Rakhi, it seems like CLI 7.0.9 fixes this issue. Thanks\r\n", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-02T14:56:40.000+0000", "updated": "2019-01-02T14:56:40.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }