{ "id": "162460", "key": "TIMOB-23845", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-12-12T15:57:51.000+0000", "created": "2016-08-08T15:17:33.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-12-12T15:57:51.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": [], "description": "When there is an error in the i18n file (invalid xml) the compile doesn't throw an error but a \"debug\" instead. Default logging doesn't show debug, so it appears compiling fails silently.\r\n\r\n{code}\r\n[DEBUG] : Processing i18n file: es/app.xml\r\n[DEBUG] : Processing i18n file: es/strings.xml\r\nelement parse error: Error: invalid tagName:<<<<<< \r\n@#[line:210,col:1]\r\nelement parse error: Error: invalid tagName:<<<<< \r\n@#[line:210,col:2]\r\nelement parse error: Error: invalid tagName:<<<< \r\n@#[line:210,col:3]\r\nelement parse error: Error: invalid tagName:<<< \r\n@#[line:210,col:4]\r\n{code}\r\n\r\nNow I know what the issue is, but it would be nice if there was an actual error in the logging. Especially because compile stops at this point", "attachment": [], "flagged": false, "summary": "App Compile doesn't trow critical error when compiling fails do to i18n error", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Alloy: 1.8.7\r\nTiSDK: 5.3.1.GA\r\nOSX 10.11.4", "comment": { "comments": [ { "id": "392776", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you provide an instruction on how we can test the issue and successfully regenerate? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-08-09T22:11:56.000+0000", "updated": "2016-08-09T22:11:56.000+0000" }, { "id": "392781", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just make the xml invalid", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-09T22:34:02.000+0000", "updated": "2016-08-09T22:34:02.000+0000" }, { "id": "403175", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, The issue is not regeneratable with SDK 6.0.0. Error in strings.xml does not cause the app to faild during compiling. Thanks.\r\nVerified:\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\nTitanium CLI\r\n CLI Version = 5.0.10\r\nTitanium SDK\r\n SDK Version = 6.0.0.GA\r\n SDK Path = /Users/gsl001/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.GA\r\n Target Platform = android 6.0.1\r\n{code}", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-12-12T15:57:20.000+0000", "updated": "2016-12-12T15:57:20.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }