{ "id": "99335", "key": "TIMOB-10473", "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": "14064", "description": "Sprint 2012-17 Core", "name": "Sprint 2012-17 Core", "archived": true, "released": true, "releaseDate": "2012-08-27" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-16T15:44:39.000+0000", "created": "2012-08-16T13:00:36.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-12-04T23:17:57.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": "10207", "name": "Tooling" } ], "description": "If TextField.yml and TextArea.yml are malformed and cannot be parsed by the YAML parsing engine, validate.py goes nuts. It could be that other file combinations can make this happen, but we noticed it with TextField.yml and TextArea.yml, so we'll stick with those two for these testing notes.\r\n\r\nh3. Testing Notes\r\n\r\n* Edit both apidoc/Titanium/UI/TextField.yml and apidoc/Titanium/UI/TextArea.yml.\r\n\r\n* Break them both on purpose by putting a space in front of their {{ name:}} keys on line 2.\r\n\r\n* Save them.\r\n\r\n* Run {{python apidoc/validate.py}}. In the fail case, you'll see runtime error stack traces and then a ton of warnings,... forever. When testing the fix, validate.py should simply stop with an error.", "attachment": [], "flagged": false, "summary": "Tooling: apidoc validate.py gets in endless loop when two files can't be parsed", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium 2.2.0 (current master at b97f63edfb). Also on 2_1_X branch at 1817d2d1a. I'm giving unreleased branch commits here instead of real version numbers because this tool (validate.py) is not something that gets released. It's only relevant when you have the TI sources.", "comment": { "comments": [ { "id": "214843", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/2768", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-16T13:26:56.000+0000", "updated": "2012-08-16T13:26:56.000+0000" }, { "id": "229980", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 3.0.0.v20121130200208", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T23:17:57.000+0000", "updated": "2012-12-04T23:17:57.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }