{ "id": "81988", "key": "TIMOB-5880", "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": "12083", "description": "", "name": "Sprint 2011-43", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-01T12:14:33.000+0000", "created": "2011-10-26T13:08:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_imageview", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "13627", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "81987", "key": "TIMOB-5879", "fields": { "summary": "Android - 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": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-01T09:48:43.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": "h3. Feature Request:\r\nExpose \"error\" event in imageViews\r\nh3. Description\r\nIf a remote image fails to render, the console outputs the following:\r\n{code}\r\n[ERROR] Failed to load image:'http://someimage.png', error: .... \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": "iOS - 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": "iOS", "comment": { "comments": [ { "id": "215007", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix with:\r\nTitanium Studio, build: 2.1.1.201207271312\r\nTitanium SDK: 2.2.0.v20120816212512\r\nDevices:\r\niPhone 4s 5.0.1\r\niPad1 ios5 5.1.1\r\nSimulator 5.1\r\nMac osx 10.8 Mountain Lion", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-17T14:28:04.000+0000", "updated": "2012-08-17T14:28:04.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }