{ "id": "114769", "key": "TIMOB-13955", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-06-22T20:02:37.000+0000", "created": "2013-05-22T17:15:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-22T20:02:38.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": "*Problem*\r\nImageView returns empty blob when \"no-cache\" is present in HTTP response headers.\r\n\r\n*Actual Result*\r\n{code}[INFO] : Image loaded!, blob length: 0{code}\r\n\r\n*Expected Result*\r\nImageView should return non empty blob.\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar imageView = Ti.UI.createImageView({\r\n\timage : 'http://www.voltimum.es/imageDisplay.php?w=265&h=265&f=./files/es/flipbooks/others/G/20130522271201301181170.jpg'\r\n});\r\n\r\nimageView.addEventListener('load', function(e) {\r\n\tTi.API.info('Image loaded! blob length: ' + e.source.toBlob().length);\r\n});\r\n\r\nwin.add(imageView);\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "38887", "filename": ".log", "author": { "name": "vkorol", "key": "vkorol", "displayName": "Viktor Korol", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2013-05-22T17:16:37.000+0000", "size": 786929, "mimeType": "application/octet-stream; charset=ISO-8859-1" }, { "id": "38888", "filename": "diagnostic3319004299605571106.log", "author": { "name": "vkorol", "key": "vkorol", "displayName": "Viktor Korol", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2013-05-22T17:16:45.000+0000", "size": 10701, "mimeType": "application/octet-stream; charset=ISO-8859-1" }, { "id": "38892", "filename": "toBlob.zip", "author": { "name": "vkorol", "key": "vkorol", "displayName": "Viktor Korol", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2013-05-22T17:19:59.000+0000", "size": 2153174, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: ImageView returns empty blob when \"no-cache\" is present in HTTP response headers", "creator": { "name": "vkorol", "key": "vkorol", "displayName": "Viktor Korol", "active": true, "timeZone": "Europe/Istanbul" }, "subtasks": [], "reporter": { "name": "vkorol", "key": "vkorol", "displayName": "Viktor Korol", "active": true, "timeZone": "Europe/Istanbul" }, "environment": "Titanium Studio 3.1.0", "comment": { "comments": [ { "id": "253464", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.1 GA and latest 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-22T19:11:25.000+0000", "updated": "2013-05-22T19:11:25.000+0000" }, { "id": "422564", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-22T20:02:37.000+0000", "updated": "2017-06-22T20:02:37.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }