{ "id": "102921", "key": "TIMOB-11310", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-06T19:19:30.000+0000", "created": "2012-10-09T05:45:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "parity" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-12-10T21:53:48.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": "Currently, the WebView.html property is writable on Android, but may not work in some circumstances (such as before the {{load}} event is fired). This should work as it does on other platforms.\r\n\r\nNote: this is documented as an issue in WebView.yml. Any fix should *update* this comment so that it says:\r\n\r\n{code}\r\nOn Android prior to , directly modifying the `html` property before the 'load' event has no effect. Use the `setHtml` method to avoid this limitation.\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Fix parity issues in WebView.html", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "225376", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "'html' should work fine in Android. I will modify the doc to address this.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-29T19:09:04.000+0000", "updated": "2012-10-29T19:09:04.000+0000" }, { "id": "230699", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\nClosing per Arthur.\nThe link for references: \n\nhttp://docs.appcelerator.com/titanium/2.1/#!/api/Titanium.UI.WebView-property-html\n\nThe following info should be displayed:\n\nTitanium.UI.WebView\nhtml : String\nHTML content of this web view.\nOn Android, This property is read-only. On other platforms, it is read-write and can be used to set the web view's content.\n\nOn all platforms the web view's content can be set using the data or url properties.\n\nFor iOS, see setHtml for additional parameters that can be specified when setting HTML content.\n\nFor Mobile Web, setting new content will reset the url and the WebView's history. The WebView's \"onload\" event will have already fired prior to the data being set inside the WebView. When querying this value, mobile web will pass in a formatted version of the html. The tag is stripped of, along with comments outside of the tag. Some default attributes may be added as well. For example, a web page with the code hello returns \"hello\" in Safari.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-10T21:52:57.000+0000", "updated": "2012-12-10T21:52:57.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }