{ "id": "111108", "key": "TIMOB-13043", "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": [ { "id": "15490", "description": "2013 Sprint 10 JS", "name": "2013 Sprint 10 JS", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-13T18:49:03.000+0000", "created": "2013-03-13T01:15:32.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-closed-3.1.1", "qe-sdk3.1.0" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-05-29T17:18:08.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "iOS: INFO and ERROR are logged as TRACE when build and minification fail.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Enter code in app.js:\r\n\r\n{code}\r\nfoo bar\r\n{code}\r\n\r\n2. Run in iOS Simulator.\r\n\r\nActual Result:\r\n\r\nINFO and ERROR are logged as TRACE:\r\n\r\n{code}\r\n[TRACE] [INFO] Build type: test\r\n[TRACE] [INFO] Building for target: simulator\r\n[TRACE] [INFO] Building using iOS SDK: 6.1\r\n[TRACE] [INFO] Building for iOS iPhone Simulator: 6.1\r\n[TRACE] [INFO] Building for device family: iphone\r\n[TRACE] [INFO] Building for iOS 6.1; using 4.3 as minimum iOS version\r\n[TRACE] [INFO] Minimum iOS version: 4.3\r\n[TRACE] [INFO] Debugging disabled\r\n[TRACE] [INFO] Profiler disabled\r\n[TRACE] [INFO] Initiating Xcode pre-compile phase\r\n[TRACE] [INFO] Found Titanium module id=com.crittercism.ti version=latest platform=iphone deploy-type=test\r\n[TRACE] [INFO] Found Titanium module id=ti.cloud version=latest platform=commonjs deploy-type=test\r\n[TRACE] [INFO] Detected third-party native iOS module: com.crittercism.ti version 1.0\r\n[TRACE] [ERROR] Failed to minify /Users/dhyde/Desktop/tistud/tistud-360-nightly/workspace/MyOldProject/Resources/app.js\r\n[TRACE] [ERROR] Unexpected token: name (vxb) [line 1, column 5]\r\n[TRACE] [ERROR] \r\n[TRACE] [ERROR] fgsn vxb fggadklbmzso;vj[psonv'awbnp'oawnbm;kwdvar crittercism = require(\"com.crittercism.ti\");\r\n[TRACE] [ERROR] -----^\r\n[TRACE] [ERROR] \r\n{code}\r\n\r\nThe nature of the error is not correctly surfaced to the user. This affects Titanium Studio.\r\n\r\nExpected Result:\r\n\r\n{code}\r\n[INFO] Build type: test\r\n[INFO] Building for target: simulator\r\n[INFO] Building using iOS SDK: 6.1\r\n[INFO] Building for iOS iPhone Simulator: 6.1\r\n[INFO] Building for device family: iphone\r\n[INFO] Building for iOS 6.1; using 4.3 as minimum iOS version\r\n[INFO] Minimum iOS version: 4.3\r\n[INFO] Debugging disabled\r\n[INFO] Profiler disabled\r\n[INFO] Initiating Xcode pre-compile phase\r\n[INFO] Found Titanium module id=com.crittercism.ti version=latest platform=iphone deploy-type=test\r\n[INFO] Found Titanium module id=ti.cloud version=latest platform=commonjs deploy-type=test\r\n[INFO] Detected third-party native iOS module: com.crittercism.ti version 1.0\r\n[ERROR] Failed to minify /Users/dhyde/Desktop/tistud/tistud-360-nightly/workspace/MyOldProject/Resources/app.js\r\n[ERROR] Unexpected token: name (vxb) [line 1, column 5]\r\n[ERROR] \r\n[ERROR] fgsn vxb fggadklbmzso;vj[psonv'awbnp'oawnbm;kwdvar crittercism = require(\"com.crittercism.ti\");\r\n[ERROR] -----^\r\n[ERROR] \r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] PhaseScriptExecution Pre-Compile build/MyOldProject.build/Debug-iphonesimulator/MyOldProject.build/Script-241EAF36118E30260081A5BE.sh \r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: iOS: INFO and ERROR are logged as TRACE when build and minification fail", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: 3.0.2.GA, 3.1.0.v20130312145716\r\nTitanium CLI: 3.0.24\r\nOS: OS X Mountain Lion 10.8.2 (12C3012)\r\nXcode: 4.6\r\niPhone Simulator: 6.1", "comment": { "comments": [ { "id": "241891", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-13T01:24:33.000+0000", "updated": "2013-03-13T01:24:33.000+0000" }, { "id": "251505", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4257\n3.1.x pull request: https://github.com/appcelerator/titanium_mobile/pull/4258", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-05-13T06:37:05.000+0000", "updated": "2013-05-13T06:37:05.000+0000" }, { "id": "251864", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Titanium Command-Line Interface, CLI version 3.1.0, Titanium SDK version 3.1.1.v20130513131554\n\nINFO and ERROR are logged as expected.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-14T18:44:21.000+0000", "updated": "2013-05-14T18:44:21.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }