{ "id": "163898", "key": "AC-4546", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2016-11-02T19:26:10.000+0000", "created": "2016-10-12T07:56:21.000+0000", "labels": [ "android", "config.json" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-11-03T09:47:15.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." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Yesterday I published the Android version of an app; later I found out it used the development config in `config.json` instead of production.\r\n\r\nI have had this issue once before and it is likely because of the message:\r\n\r\n`[INFO] : [config.json] config.json unchanged, using cached config.json...`\r\n\r\nI've got a strong feeling this isnt working properly. I had just updated my config.json, (I believe without using `AppcStudio -> Project -> Clean...` before I packaged the project) and it used the development config.\r\n\r\nLater I built the iOS app (not knowing the issue on the Android package yet) and it appeared to build correctly.\r\n\r\nI hereby suggest: dont use any sort of \"cache\" function for such simple files as `config.json`. This file is likely not gonna be bigger than 200 lines and not caching it is probably the easiest fix.", "attachment": [], "flagged": false, "summary": "App deployed with development settings", "creator": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "environment": "Ti SDK 5.* (any as far as I know), Mac 10.11.6 (Mac version could be unrelated)", "comment": { "comments": [ { "id": "398767", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Thanks for your request. It's always better to do a clean in the project before the production build. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-10-12T19:28:47.000+0000", "updated": "2016-10-12T19:28:47.000+0000" }, { "id": "400324", "author": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "body": "Please reopen this report. If you change something in the config.json, it sometimes doesnt recognize that change. Unfortunately I cant reproduce a testcase. It might be OS dependent (Mac/Windows/Linux).\r\n\r\nThe easiest fix is to exclude this config.json from being cached and I think that is a much safer solution since its such an important file to have correct. I'm sure more people have encountered this issue.", "updateAuthor": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "created": "2016-11-03T09:47:15.000+0000", "updated": "2016-11-03T09:47:15.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }