{ "id": "81987", "key": "TIMOB-5879", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "12084", "description": "", "name": "Sprint 2011-44", "archived": true, "released": true, "releaseDate": "2011-11-07" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-15T13:06:06.000+0000", "created": "2011-10-26T13:03:47.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_imageview", "qe-closed-3.3.0", "qe-testadded" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [ { "id": "58254", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174799", "key": "TIMOB-27797", "fields": { "summary": "Android: Unable to see \"error\" event in remote images", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "13627", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "81988", "key": "TIMOB-5880", "fields": { "summary": "iOS - Expose \"error\" event in remote images", "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": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-03-10T15:35:20.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": "h3. Feature Request:\r\nExpose \"error\" event in imageViews\r\nh3. Description\r\nIf a remote image fails to render, the console (DDMS) outputs the following:\r\n{code}\r\nERROR/TiUIImageView(8390): (main) [20,7354] Max retries reached, giving up decoding image source: http://someimage\r\n{code}\r\nWe need a way to catch that error in the Javascript so that we can act accordingly, for example, show an \"error_image.png\".\r\n\r\nh3. Example:\r\n{code}\r\nvar img = Ti.UI.createImageView({\r\n\timage:'http://someurl.com/someimage.png'\r\n});\r\nwin.add(img);\r\nimg.addEventListener('error', function(){\r\n\timg.image = 'error_image.png';\r\n});\r\n{code}", "attachment": [], "flagged": false, "summary": "Android - Expose \"error\" event in remote images", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Android", "comment": { "comments": [ { "id": "311781", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with:\r\n\r\n\r\nAppcelerator-Studio:3.3.0.201406271159\r\nSdk:3.3.0.v20140627202512\r\nacs:1.0.14\r\nalloy:1.4.0-rc3\r\nnpm:1.3.2\r\ntitanium:3.3.0-rc4\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nOS:Maverick(10.9.3)\r\nDevice : LG-P970(V4.0.4),iPhone5S(v7.1.1)\r\n\r\nerror event is being fired.\r\nWorking as expected.\r\nHence closing the issue.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-01T09:47:23.000+0000", "updated": "2014-07-01T09:47:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }