{ "id": "88517", "key": "TIMOB-8201", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-03-22T20:26:54.000+0000", "created": "2012-03-22T14:16:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-and031912" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "15897", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "85591", "key": "TIMOB-7438", "fields": { "summary": "Android: V8/Rhino: Ti.Utils.md5HexDigest: runtime error when passed image as argument", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-10T19:15:16.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": "Application throws runtime error on being run.\r\n\r\nSteps to reproduce:\r\n1. Run app.\r\n\r\nAcceptance.js\r\n{code}\r\n(function() {\r\n\ttpl.at = {};\r\n\r\n\t/**\r\n\t * Add the titles of the test cases to the list to get them loaded to the table view\r\n\t */\r\n\ttpl.at.createData = function() {\r\n\t\tvar acceptanceData = [\r\n\t\t{title:'TIMOB_3630', hasChild:true, level:\"acceptance\"},\r\n\t\t{title:'TIMOB_3190', hasChild:true, level:\"acceptance\"}\r\n\t\t]\r\n\r\n\t\treturn acceptanceData;\r\n\t};\r\n\t/**\r\n\t * TIMOB_3630 is designed to test the correct functionality of Util\r\n\t * when creating MD5 hash from blob on iOS.\r\n\t */\r\n\t\r\n\ttpl.at.TIMOB_3630 = function(_window) {\r\n\r\n\t\tvar 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\n\r\n\t\treturn _window;\r\n\t}\r\n\r\n\t/**\r\n\t * TIMOB_3190 is designed to test the correct functionality of Util\r\n\t * when base64 encoding images on iOS.\r\n\t */\r\n\ttpl.at.TIMOB_3190 = function(_window) {\r\n\r\n\t\tvar f = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'KS_nav_ui.png');\r\n\t\tvar blob = f.read();\r\n\t\tvar encoded = Ti.Utils.base64encode(blob);\r\n\r\n\t\talert(encoded);\r\n\r\n\t\treturn _window;\r\n\t}\r\n})();\r\n{code}\r\n\r\nApp.js\r\n{code}\r\n\r\nvar tpl = {}; \r\nTi.include('ui.js', 'smoke.js', 'acceptance.js', 'full.js');\r\nvar tabs = tpl.ui.createApplicationTabGroup();\r\ntabs.open();\r\n{code}\r\n\r\n\r\nExpected results:\r\nA white screen should be displayed and the app should not crash.\r\n\r\nActual:\r\nApplication throws runtime error(Please find the screenshots attached for v8(device-2012-03-22-164623.png) and rhino(3630_rhino.png)).", "attachment": [ { "id": "26483", "filename": "3630_rhino.png", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-22T16:14:06.000+0000", "size": 38809, "mimeType": "image/png" }, { "id": "26482", "filename": "device-2012-03-22-164623.png", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-22T16:14:06.000+0000", "size": 37198, "mimeType": "image/png" } ], "flagged": false, "summary": "Android Titanium.Utils - v8 :Runtime error on running the Application.", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 2.0.0.v20120322084826\r\nJavascript Engine: V8 \r\nPlatform & version: Android 2.3.3\r\nDevice Details: Android emulator and Android Nexus S.\r\nHost Operating System: OSX 10.7.2\r\nTitanium Studio version: 2.0.0.201203211914", "comment": { "comments": [ { "id": "411309", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-10T19:15:16.000+0000", "updated": "2017-03-10T19:15:16.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }