{ "id": "123629", "key": "ALOY-909", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-12-24T15:35:05.000+0000", "created": "2013-12-12T03:49:38.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-15T20:13:17.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": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "h4. Expectation \r\nExpect project to build or reasonable error message be delivered to developer\r\n\r\nh4. Reality\r\nError occurs without delivering meaningful message to the developer when parsing fails in a supporting tooling module\r\n\r\nh4. Steps to reproduce.\r\nCreate a basic alloy project that will build. Throw the following file into app/assets:\r\n\r\n{code}\r\n\r\n\r\n\t

Test

\r\n\r\n\r\n{code}\r\n\r\nh4. Error\r\n\r\n{code}\r\n/Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/xmldom/sax.js:92\r\n\t\t\tvar localNSMap = config.localNSMap;\r\n\t\t\t ^\r\nTypeError: Cannot read property 'localNSMap' of undefined\r\n at parse (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/xmldom/sax.js:92:27)\r\n at XMLReader.parse (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/xmldom/sax.js:29:3)\r\n at DOMParser.parseFromString (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/xmldom/dom-parser.js:26:6)\r\n at Object.analyzeHtml (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/titanium-sdk/lib/jsanalyze.js:155:58)\r\n at Object.analyzeHtmlFile (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/titanium-sdk/lib/jsanalyze.js:143:17)\r\n at iOSBuilder. (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/iphone/cli/commands/_build.js:2703:17)\r\n at /Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/async/lib/async.js:548:21\r\n at /Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/async/lib/async.js:224:13\r\n at iterate (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/async/lib/async.js:131:13)\r\n at /Users/username/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20131127225644/node_modules/async/lib/async.js:142:25\r\n{code}\r\n\r\nh4. Notes\r\n\r\nThe solution obviously is for the developer to fix their markup. However, the developer is not informed as to which file is being processed at the time or the nature of the error. ", "attachment": [], "flagged": false, "summary": "Tooling: No meaningful error message given for invalid XML markup", "creator": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "environment": "System 1\r\nOperating System\r\nName = Mac OS X\r\nVersion = 10.9\r\nArchitecture = 64bit\r\n\r\nCPUs = 4\r\nMemory = 24.0GB\r\nNode.js\r\nNode.js Version = 0.10.15\r\nnpm Version =\r\n\r\nTitanium CLI\r\nCLI Version = 3.2.0\r\nnode-appc Version = 0.2.0\r\n\r\nTitanium SDKs\r\n3.3.0.v20131127225644\r\n\r\nXcode\r\n5.0 (build 5A1413) - Xcode default\r\n5.0.1 (build 5A2053)\r\n\r\nOccurs building against ios sdk 7.0, 7.0.3\r\nOccurs building to the simulator\r\nOccurs in and around the Symlinking process", "comment": { "comments": [ { "id": "285745", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a duplicate of ALOY-907. It has already been resolved and will be available in Alloy 1.3.1. As of the time if this comment, 1.3.1-alpha is currently available with this fix, along with ALOY-905 for compatibility with TiSDK 3.0.0+. You can install it like this:\r\n\r\n{code}\r\nsudo npm install -g alloy@1.3.1-alpha\r\n{code}", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-24T15:35:05.000+0000", "updated": "2013-12-24T15:35:05.000+0000" }, { "id": "285747", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "Glad its fixed and all.\r\n\r\nBut this ticket was opened on the 13th, a week before 907 was. \r\n\r\nAt the time this ticket was opened, it was NOT resolved.\r\n\r\n\r\n", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2013-12-24T15:53:50.000+0000", "updated": "2013-12-24T15:53:50.000+0000" }, { "id": "285754", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~sfeather] apologies for any confusion. I probably didn't see this one before ALOY-907 because I'm assuming it was in TC until today. \n\nYou're the best bug reporter ever and all should bask in your magnificence. Better? :P\n\nNow go drink some egg nog or something!", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-24T20:37:59.000+0000", "updated": "2013-12-24T20:37:59.000+0000" }, { "id": "285755", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "LOL! Merry Christmas, Tony.", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2013-12-24T21:24:30.000+0000", "updated": "2013-12-24T21:24:30.000+0000" }, { "id": "426700", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T20:13:17.000+0000", "updated": "2017-08-15T20:13:17.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }