{ "id": "102389", "key": "ALOY-309", "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": [ { "id": "14177", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14176", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": false, "released": true, "releaseDate": "2012-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-01T17:47:04.000+0000", "created": "2012-09-28T20:56:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14177", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:26:06.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "Came across this randomly while testing out Alloy debugging...\r\n\r\nREPRODUCTION:\r\nGenerate a new default Alloy project and edit index.xml. Remove the very last quotation mark, then try to compile it (with the CLI, though it fails with Studio too).\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nRESULTS:\r\nCompilation process hangs here:\r\n{code}\r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [index.xml] view processing...\r\n[INFO] style: \"index.tss\"\r\n[INFO] view: \"index.xml\"\r\n{code}\r\n\r\nOTHER INFO:\r\nRemoving any other quotation mark will generate an error from the CLI.", "attachment": [], "flagged": false, "summary": "Specific markup error causes the compiler to hang", "creator": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Alloy v0.2.36\r\nTitanium SDK v2.1.2.GA\r\nMac OS X v10.7.5", "comment": { "comments": [ { "id": "221559", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Well, this might explain why its just hanging. Notice the commented \"reportError\", ugh...\n\n{code:lang=javascript}\nif(s === 4){//equal\n\tstart = p+1;\n\tp = source.indexOf(c,start)\n\tif(p>0){\n\t\tvalue = source.slice(start,p).replace(/&#?\\w+;/g,entityReplacer);\n\t\tel[index++] = {qName:attrName,value:value}\n\t\ts = 6;\n\t}else{\n\t\t//reportError\n\t}\n}else{\n\t//reportError\n}\n{code}", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-01T15:21:57.000+0000", "updated": "2012-10-01T15:21:57.000+0000" }, { "id": "221592", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Deciding to fork xmldom and use the latest error handling in it. All further work will be captured in ALOY-267.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-01T17:47:04.000+0000", "updated": "2012-10-01T17:47:04.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }