{ "id": "174799", "key": "TIMOB-27797", "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": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-07-30T19:35:30.000+0000", "created": "2020-03-10T15:35:20.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" }, { "id": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "issuelinks": [ { "id": "58255", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "158099", "key": "TIMOB-22149", "fields": { "summary": "Ti.UI.ImageView Test Suite: Titanium.UI.ImageView Acceptance TIMOB-5879,TIMOB-5880", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } }, { "id": "58254", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "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": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-07-30T19:35:30.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": "Using the test case below the \"error\" event in remote images is not fired unlike on iOS.\r\n\r\n*Test Steps:*\r\n# Create a new Titanium application \r\n# Add the test case below in to the {{app.js}}\r\n# Run the application\r\n\r\n*Test Case:*\r\n{code:java}\r\nTi.UI.setBackgroundColor('#000');\r\n\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n\r\nvar win1 = Ti.UI.createWindow({\r\n title:'Tab 1',\r\n backgroundColor:'#fff',\r\n});\r\n\r\nvar img = Ti.UI.createImageView({\r\n\timage:'http://files.daddyhunt.com/sites/default/files/imagecache/mangrid-212/photos/z/z/z/277606/Photo_on_2010-09-14_at_13.14_3.jpg'\r\n});\r\nwin1.add(img);\r\nimg.addEventListener('error', function(){\r\n Ti.API.info('--------------fired error event----------');\r\n});\r\n\r\ntabGroup.addTab(Ti.UI.createTab({\r\n title:'Tab 1',\r\n window:win1\r\n}));\r\ntabGroup.open();\r\n{code}\r\n\r\n*Actual result*\r\nFollowing Error is shown\r\n{code:java}\r\n[ERROR] \b\b \bTiDownloadManager: (pool-4-thread-1) [174,616] Failed to download from: http://files.daddyhunt.com/sites/default/files/imagecache/mangrid-212/photos/z/z/z/277606/Photo_on_2010-09-14_at_13.14_3.jpg\r\n\r\n[ERROR] \b\b \bTiDownloadManager: (pool-5-thread-1) [200,816] Failed to download from: http://files.daddyhunt.com/sites/default/files/imagecache/mangrid-212/photos/z/z/z/277606/Photo_on_2010-09-14_at_13.14_3.jpg\r\n\r\n[ERROR] \b\b \bTiDownloadManager: (pool-5-thread-1) [104,920] Failed to download from: http://files.daddyhunt.com/sites/default/files/imagecache/mangrid-212/photos/z/z/z/277606/Photo_on_2010-09-14_at_13.14_3.jpg\r\n\r\n[ERROR] \b\b \bTiDownloadManager: (pool-5-thread-1) [118,1038] Failed to download from: http://files.daddyhunt.com/sites/default/files/imagecache/mangrid-212/photos/z/z/z/277606/Photo_on_2010-09-14_at_13.14_3.jpg\r\n\r\n[ERROR] \b\b \bTiDownloadManager: (pool-5-thread-1) [105,1143] Failed to download from: http://files.daddyhunt.com/sites/default/files/imagecache/mangrid-212/photos/z/z/z/277606/Photo_on_2010-09-14_at_13.14_3.jpg\r\n\r\n[ERROR] \b\b \bTiDownloadManager: (pool-5-thread-1) [103,1246] Failed to download from: http://files.daddyhunt.com/sites/default/files/imagecache/mangrid-212/photos/z/z/z/277606/Photo_on_2010-09-14_at_13.14_3.jpg\r\n\r\n[ERROR] \b\b \bTiDownloadManager: (pool-5-thread-1) [105,1351] Failed to download from: http://files.daddyhunt.com/sites/default/files/imagecache/mangrid-212/photos/z/z/z/277606/Photo_on_2010-09-14_at_13.14_3.jpg\r\n{code}\r\n\r\n*Expected Result*\r\nFollowing should be seen in the console\r\n{code:java}\r\n[INFO] \b\b \b --------------fired error event----------\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: Unable to see \"error\" event in remote images", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MacOS Catalina: 10.15.1 beta\r\nXcode: 11.3\r\nJava Version: 1.8.0_131\r\nAndroid NDK: 18.1.5063045\r\nNode.js: 10.16.3\r\n\"NPM\":\"5.0.0-1\",\"CLI\":\"8.0.0-master.10\"\r\nPixel xl (7.1.1) Emulator\r\nSDK Version: 9.0.0.v20200207114311\r\nSDK Version: 8.3.1.GA", "closedSprints": [ { "id": 1192, "state": "closed", "name": "2020 Sprint 8", "startDate": "2020-04-10T18:08:36.092Z", "endDate": "2020-04-24T18:08:00.000Z", "completeDate": "2020-04-24T16:23:30.466Z", "originBoardId": 114 }, { "id": 1194, "state": "closed", "name": "2020 Sprint 9", "startDate": "2020-04-24T17:09:51.572Z", "endDate": "2020-05-08T17:09:00.000Z", "completeDate": "2020-05-08T15:40:07.869Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "454886", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/11575", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-26T23:41:59.000+0000", "updated": "2020-03-26T23:41:59.000+0000" }, { "id": "455231", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-24T13:36:38.000+0000", "updated": "2020-04-24T13:36:38.000+0000" }, { "id": "455279", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 9.1.0 target", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-04-28T13:42:25.000+0000", "updated": "2020-04-28T13:42:25.000+0000" }, { "id": "456295", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nMac OS: 10.15.4\r\nSDK: 9.1.0.v20200727104531\r\nAppc CLI: 8.1.0-master.7\r\nJDK: 11.0.4\r\nNode: 10.17.0\r\nStudio: 6.0.0.202005141803\r\nDevice: Pixel3(v10.0) emulator", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-30T19:35:30.000+0000", "updated": "2020-07-30T19:35:30.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }