{ "id": "77903", "key": "TIMOB-4703", "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": "11362", "description": "Mobile 1.8.0 M09", "name": "Sprint 2011-30", "archived": true, "released": true, "releaseDate": "2011-08-01" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-07-27T09:52:33.000+0000", "created": "2011-07-18T10:06:36.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "11783", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "78278", "key": "TIMOB-4803", "fields": { "summary": "Android: validate xml.js drillbit test and remove unnecessary bug-related comments after all pending bug pull requests have been merged.", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "11776", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "78189", "key": "TIMOB-4769", "fields": { "summary": "Android: XML.Node drillbit tests fails when comparing Ti.Element to Ti.Element", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "11686", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "77390", "key": "TIMOB-4570", "fields": { "summary": "Write unit tests for Titanium.XML.Document", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-09-13T12:33:28.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "This could potentially be a drillbit problem (specifically {{shouldBe}}), but I'm assuming it's actually Android.\r\n\r\nDrillbit code from xml.js test shows that a node's attribute's ownerElement is not considered the same as the node (which it should be): \r\n\r\n{code:title=xml.js}\r\nvar doc = Ti.XML.parseString(this.testSource[\"nodes.xml\"]);\r\nvar node = doc.getElementsByTagName(\"node\").item(0);\r\nvar attr = node.attributes.item(0);\r\nvalueOf(attr.ownerElement).shouldBe(node); // FAILS\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Comparison of proxies for nodes that should be the same sometimes do not work.", "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": null, "comment": { "comments": [ { "id": "160536", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Simple failcase app.js (instead of running drillbit):\r\n\r\n{code:title=app.js}\r\nTitanium.UI.setBackgroundColor('#000');\r\n// Titanium.Network;\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Test',\r\n backgroundColor:'#000',\r\n\texitOnClose: true\r\n});\r\nwin.open();\r\n\r\nvar XMLSTRING = '';\r\nvar doc = Ti.XML.parseString(XMLSTRING);\r\nvar elem = doc.getElementsByTagName(\"a\").item(0);\r\nvar attr = elem.attributes.item(0);\r\nvar equality = (attr.ownerElement == doc.documentElement);\r\nif (equality) {\r\n\talert(\"Test passed. attr.ownerElement == doc.documentElement\");\r\n} else {\r\n\talert(\"Test failed. attr.ownerElement != doc.documentElement but it should\");\r\n}\r\n{code}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-07-25T15:47:02.000+0000", "updated": "2011-07-25T15:47:02.000+0000" }, { "id": "160735", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Code reviewed and tested.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-27T09:52:33.000+0000", "updated": "2011-07-27T09:52:33.000+0000" }, { "id": "165869", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolved. \nTested On:\nMac OSX Lion\nTiMob: 1.8.0.v20110906155354\nTiStud: 1.0.5.201109091616\n\nDevices Used:\nAndroid Emulator 2.2\nDroid 3\nDroid 1", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-13T12:33:28.000+0000", "updated": "2011-09-13T12:33:28.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }