{ "id": "83523", "key": "TIMOB-6534", "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": "12095", "description": "", "name": "Sprint 2012-03", "archived": true, "released": true, "releaseDate": "2012-02-12" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-14T23:29:03.000+0000", "created": "2011-12-09T11:12:37.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-14T23:29:03.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": "Running the XML drillbit test under Rhino will result in a failure for the last two tests. Results from a recent update for the XML element tests.\r\n\r\nNOTE: remove the !android checks put in with TIMOB-6627", "attachment": [], "flagged": false, "summary": "Android: Rhino: Drillbit test for XML fails", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [ { "id": "83735", "key": "TIMOB-6627", "fields": { "summary": "Android: Drillbit: wrap failing checks for setAttributeNode in the element and elementNS XML drillbit tests", "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": "Critical", "id": "1" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } ], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "175627", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There are two failures in xml.js.\r\n1) line 1284. It throws DOMException with error code INUSE_ATTRIBUTE_ERR which is raised if newAttr is already an attribute of another Element object. The DOM user must explicitly clone Attr nodes to re-use them in other elements.\r\nIt should not throw exception because this test is replacing an attribute node by itself and it should has no effect based on the doc http://developer.android.com/reference/org/w3c/dom/Element.html#setAttributeNode(org.w3c.dom.Attr).\r\n2) line 1372. It throws the same exception as above. Based on the JS code, throwing the exception is expected. But the odd thing is in this test, it uses setAttributeNodeNS and setAttributeNode for the same attribute node.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T16:05:45.000+0000", "updated": "2011-12-09T17:34:32.000+0000" }, { "id": "175958", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We need a test \"if (!android)\" only for 1_8_X to verify we're running the rest of the XML drillbit tests. Do not resolve for 1_8_x merge", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-13T11:05:58.000+0000", "updated": "2011-12-13T11:13:52.000+0000" }, { "id": "182094", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Failed: Tested XML with drillbit using:\r\nversion=1.9.0\r\nmodule_apiversion=2\r\ntimestamp=01/23/12 15:04\r\ngithash=72b3e82\r\nfails to run", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-06T13:44:53.000+0000", "updated": "2012-02-06T13:44:53.000+0000" }, { "id": "182303", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "XML test passes using latest master on HTC 2.3.4 phone.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-07T16:26:21.000+0000", "updated": "2012-02-07T16:26:21.000+0000" }, { "id": "182381", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Retested with version=1.9.0\r\nmodule_apiversion=2\r\ntimestamp=01/23/12 15:04\r\ngithash=72b3e82 with rhino and emulator 2.2 all test passed", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-08T10:01:03.000+0000", "updated": "2012-02-08T10:01:03.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }