{ "id": "172790", "key": "AC-6079", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2019-01-09T13:05:38.000+0000", "created": "2018-12-24T20:31:21.000+0000", "labels": [ "alloy", "build", "cli", "theme" ], "versions": [], "issuelinks": [ { "id": "57103", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "172641", "key": "ALOY-1638", "fields": { "summary": "Theme is \"null\" when a theme is defined in config.json", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-01-09T13:05:38.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": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "When building for iOS on CLI 7.0.8 and 7.0.9, the build tool forces config=null and the app is built without including any of the theme's .tss files.\r\n\r\nBuilding the same code using CLI 7.0.7 works around the issue.\r\n", "attachment": [ { "id": "66010", "filename": "AC-6079.zip", "author": { "name": "christopher.stea", "key": "christopher.stea", "displayName": "Christopher Stea", "active": true, "timeZone": "America/Guatemala" }, "created": "2018-12-25T23:10:44.000+0000", "size": 8661356, "mimeType": "application/zip" }, { "id": "66008", "filename": "AppceleratorIssue6079.zip", "author": { "name": "lfarias", "key": "lfarias", "displayName": "Leandro Farias", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-25T19:09:03.000+0000", "size": 8663638, "mimeType": "application/zip" }, { "id": "66009", "filename": "CLI 707.png", "author": { "name": "christopher.stea", "key": "christopher.stea", "displayName": "Christopher Stea", "active": true, "timeZone": "America/Guatemala" }, "created": "2018-12-25T23:04:40.000+0000", "size": 31448, "mimeType": "image/png" }, { "id": "66011", "filename": "CLI 709.png", "author": { "name": "christopher.stea", "key": "christopher.stea", "displayName": "Christopher Stea", "active": true, "timeZone": "America/Guatemala" }, "created": "2018-12-25T23:15:51.000+0000", "size": 32582, "mimeType": "image/png" }, { "id": "66013", "filename": "Screenshot_20181226-112936.png", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-12-26T05:59:25.000+0000", "size": 46689, "mimeType": "image/png" }, { "id": "66012", "filename": "Screenshot_20181226-115150.png", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-12-26T05:58:34.000+0000", "size": 43389, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI build setting the Alloy theme to NULL", "creator": { "name": "christopher.stea", "key": "christopher.stea", "displayName": "Christopher Stea", "active": true, "timeZone": "America/Guatemala" }, "subtasks": [], "reporter": { "name": "christopher.stea", "key": "christopher.stea", "displayName": "Christopher Stea", "active": true, "timeZone": "America/Guatemala" }, "environment": "- MacOS Mojave\r\n- XCode 10.1\r\n- Titanium 7.5.0\r\n- Alloy framework\r\n- Theme set in config.js", "comment": { "comments": [ { "id": "444833", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nThanks for reporting this. Can you please share a simple test case to reproduce the issue on our end?", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-12-25T05:41:24.000+0000", "updated": "2018-12-25T05:41:24.000+0000" }, { "id": "444834", "author": { "name": "lfarias", "key": "lfarias", "displayName": "Leandro Farias", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi\r\n\r\nI think this issue affect android too. I attached a sample project with a themed config.json. \r\n\r\nThe problem:\r\n- Themed config.json global nodes are \"ignored\" after frist compilation on liveview mode, ad-hoc, production or test mode. More: *appc ti clean* not solve the problem.\r\n\r\nThe error console:\r\n[INFO] \b\b \b Finished building the application in 1s 946ms\r\n[INFO] \b\b \b Launching iOS Simulator\r\n[LiveView] version 1.2.2\r\n[LiveView] Alloy project monitor started\r\n[LiveView] File Server Started on 0.0.0.0:8324\r\n[LiveView] Event Server Started on 0.0.0.0:8323\r\n-- Start simulator log -------------------------------------------------------\r\n[INFO] \b\b \b AppceleratorIssue6079 1.0 (Powered by Titanium 7.5.0.2e5a7423d0)\r\n[LiveView] Client connected\r\n[INFO] \b\b \b [LiveView] Error Evaluating app.js @ Line: 39\r\n[ERROR] \b\b \bTypeError: undefined is not an object (evaluating 'Alloy.CFG.colors.primary')\r\n[ERROR] \b\b \bFile: app.js\r\n[ERROR] \b\b \bLine: 39\r\n[ERROR] \b\b \bSourceId: \r\n[ERROR] \b\b \bBacktrace:\r\n[ERROR] \b\b \b undefined\r\n\r\nWhen I use this same project with cli 7.0.7, I have no problems.", "updateAuthor": { "name": "lfarias", "key": "lfarias", "displayName": "Leandro Farias", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-25T19:09:19.000+0000", "updated": "2018-12-25T19:09:19.000+0000" }, { "id": "444836", "author": { "name": "christopher.stea", "key": "christopher.stea", "displayName": "Christopher Stea", "active": true, "timeZone": "America/Guatemala" }, "body": "Attached is a simple testcase which is basically the Titanium Alloy Sample app with an added theme that changes the background color of the .container class.\r\n\r\n [^AC-6079.zip] \r\n\r\nWhen built using CLI 7.0.7 I get the expected result:\r\n\r\n !CLI 707.png|thumbnail! \r\n\r\nBut when building using CLI 7.0.8 or 7.0.9, the result is:\r\n\r\n !CLI 709.png|thumbnail! \r\n\r\nThe build log shows that theme is set to NULL even though it is set properly in config.json:\r\n\r\n{code:java}\r\n[INFO] : Executing Alloy compile: /usr/local/bin/node /Users/Chris/.appcelerator/install/7.0.9/package/node_modules/alloy/bin/alloy compile /Users/Chris/Developer/Appcelerator_Studio_Workspace/TestCase/app --config theme=null,platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=development,target=simulator --no-colors\r\n{code}", "updateAuthor": { "name": "christopher.stea", "key": "christopher.stea", "displayName": "Christopher Stea", "active": true, "timeZone": "America/Guatemala" }, "created": "2018-12-25T23:16:07.000+0000", "updated": "2018-12-25T23:21:30.000+0000" }, { "id": "444860", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "This issue is duplicate of ALOY-1638. Reported for reopening. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-12-26T22:44:06.000+0000", "updated": "2018-12-26T22:44:06.000+0000" }, { "id": "445130", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Closing as a dupe of ALOY-1638, for now please use appc cli 7.0.7, 7.0.9 did not update alloy correctly to fix this issue", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-01-09T13:05:14.000+0000", "updated": "2019-01-09T13:05:14.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }