{ "id": "63725", "key": "TIMOB-3093", "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": "11243", "name": "Release 1.6.0 M10", "archived": true, "released": true, "releaseDate": "2011-02-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:54.000+0000", "created": "2011-04-15T03:36:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "regression", "release-1.6.0", "reported-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T02:00:54.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": "{html}

If our cache implementation does not cache an image (such as if\nthe http header when retrieving that image says to not cache it),\nit fails to appear in the image view.

\n

Failcase app.js:

\n
\nTitanium.UI.setBackgroundColor('#000');\nvar win = Titanium.UI.createWindow({  \n    title:'Test',\n    backgroundColor:'#000',\n    exitOnClose: true\n});\nvar thisURL = \"module=MultiSites&action=getEvolutionGraph&period=day&date=2011-01-04,2011-02-02&evolutionBy=visits&columns=nb_visits&idSite=7&idsite=7&viewDataTable=sparkline\";\n\nvar paramArray = thisURL.split(\"&\");\nfor(var i=0,ilen=paramArray.length;i<ilen;i++){\n    var thisKeyValue = paramArray[i].split(\"=\");\n    thisKeyValue[1] = Ti.Network.encodeURIComponent(thisKeyValue[1]);\n    paramArray[i] = thisKeyValue.join(\"=\");\n}\nvar encodedURI = paramArray.join(\"&\");\nvar encodedURL = \"http://demo.piwik.org/index.php?\" + encodedURI;\nTi.API.info(encodedURL);\n\nvar imageView = Ti.UI.createImageView({\n    image: encodedURL\n});\n \nwin.add(imageView);\nwin.open();\n
{html}", "attachment": [], "flagged": false, "summary": "Android: Non-cached network images will not appear in TiUIImageView", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "130039", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [26b410ecbf9ceeaaebf8d59bdd8c6a4ac7ddc899])\n[#3093 state:fixed-in-qa] Make sure that remote\nimages which don't land in our cache are still fetched. \nhttps://github.com/appcelerator/titanium_mobile/commit/26b410ecbf9c...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:36:42.000+0000", "updated": "2011-04-15T03:36:42.000+0000" }, { "id": "130040", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [7a685409bdad14f753ea6e8429383707e4fbc748])\n[#3093 state:fixed-in-qa] Make sure that remote\nimages which don't land in our cache are still fetched. \nhttps://github.com/appcelerator/titanium_mobile/commit/7a685409bdad...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:36:43.000+0000", "updated": "2011-04-15T03:36:43.000+0000" }, { "id": "130041", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

verified emulator 2.2

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:36:43.000+0000", "updated": "2011-04-15T03:36:43.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }