{ "id": "62229", "key": "TIMOB-1597", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:37.000+0000", "created": "2011-04-15T02:57:01.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "iphone", "xml" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-09-23T06:25:09.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

TiDomElement.setAttribute is not implemented on iPhone, though\nit is implemented on Android.

\n

I've implemented it as I need it for my own code:
\nhttp://github.com/brion/titanium_mobile/commits/setattribute
\n\nhttp://github.com/brion/titanium_mobile/commit/acf88afa6d37c51d2096...

\n

Note that numerous other unimplemented methods remain!

{html}", "attachment": [], "flagged": false, "summary": "[PATCH] TiDomElement.setAttribute not implemented on iPhone", "creator": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126158", "author": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Assigning open patches from StatusNet to our support contact per\nrequest.

{html}", "updateAuthor": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:57:01.000+0000", "updated": "2011-04-15T02:57:01.000+0000" }, { "id": "126159", "author": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Any issues with this patch? Anyone I should be bringing it to\nfor review?

{html}", "updateAuthor": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:57:01.000+0000", "updated": "2011-04-15T02:57:01.000+0000" }, { "id": "126160", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

merged.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:57:02.000+0000", "updated": "2011-04-15T02:57:02.000+0000" }, { "id": "166726", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "patch isn't working for me:\r\n\r\nvar win = Titanium.UI.createWindow({});\r\nvar text = \"aaa\"\r\nvar xmlDoc = Ti.XML.parseString(text);\r\nxmlDoc.documentElement.getElementById('foo0').setAttribute('bar','def');\r\nTi.API.info(xmlDoc.documentElement.getElementById('foo0').getAttribute(\"bar\"));\r\nwin.open();\r\n\r\nstill outputs \"abc\" and not \"def\".", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-23T06:25:09.000+0000", "updated": "2011-09-23T06:25:09.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }