{ "id": "87954", "key": "TIMOB-8006", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2012-03-14T13:18:18.000+0000", "created": "2012-03-14T13:09:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-mw020912" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-01-28T23:23:13.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "See http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Window.toImage-method.html\r\n\r\nSteps to reproduce:\r\n\r\n1. Create a default mobile web project and replace the app.js code with that below\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\t\t\tbackgroundColor : 'green'\r\n\t\t});\r\n\r\n\t\tTi.Utils.md5HexDigest(win.toImage());\r\nwin.open();\r\n{code}\r\n\r\nActual result:\r\nAn error with the message \"win.toImage is not a function\" is shown in the error console\r\n\r\nExpected result:\r\nReturns an image of the rendered view, as a Blob.", "attachment": [], "flagged": false, "summary": "MobileWeb : Window - Ti.UI.Window.toImage() is causing an error of \"toImage\" is not a function", "creator": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with Ti Studio build 2.0.0.201203132050\r\nTi Mob SDK 2.0.0.v20120314090311\r\nOSX Lion 10.7.3\r\niPad 1 OS 4.3.5, Galaxy Tab 10.1 OS 3.0", "comment": { "comments": [ { "id": "186473", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "It is impossible today to support this. We have documented toImage() as unsupported.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-14T13:18:18.000+0000", "updated": "2012-03-14T13:18:18.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }