{ "id": "142102", "key": "TIMOB-18292", "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": "2014-12-29T19:35:02.000+0000", "created": "2014-12-29T05:01:56.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:11:12.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": "HTTPClient onload callback doen't get called in iOS 8.1 devices.\r\nIt's working as expected in iOS 7.1 devices\r\n\r\nh5. Steps To Reproduce\r\n1. Create a classic app using following code in app.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar xhr = Titanium.Network.createHTTPClient();\r\n\t\r\nxhr.onload = function()\r\n{\r\n\tTitanium.Media.saveToPhotoGallery(this.responseData);\r\n\talert('Check your photo gallery for a titanium logo');\t\t\r\n};\r\n\t\r\nxhr.onerror = function()\r\n{\r\n\talert('error');\r\n};\r\n\t\r\n// open the client\r\nxhr.open('GET','http://static.appcelerator.com/images/header/appc_logo.png');\r\n\t\r\n// send the data\r\nxhr.send();\r\nwin.open();\r\n{code}\r\n2. Run on iOS 8.1 device\r\n\r\nh5. Expected Result\r\nAppc logo should be saved in gallery and there should be an alert dialog with the message of *Check your photo gallery for a titanium logo*.\r\n\r\nh5. Actual Result\r\nAlert with *error*.\r\nFollowing log message was observed in console but this log was not consistent.\r\n{code}\r\n/private/var/mobile/Containers/Bundle/Application/6DC7EB6F-15F9-481C-8DCD-DC7AB8B1EC56/XHRTest.app/app.js, Resource: app_js\r\n[DEBUG] : enabledRemoteNotificationTypes is not supported in iOS 8.0 and later.\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS8: HTTPClient onload callback doesn't get called in iOS 8.1", "creator": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Titanium SDK: 3.5.0.v20141222103320\r\nAppc-Studio: 3.4.1 GA\r\nTitanium CLI: 3.4.1 GA\r\nAlloy : 1.5.1 GA\r\nXcode : 6.1\r\nOS: OSX 10.10.1\r\nDevice : iPhone 6plus (iOS 8.1)", "comment": { "comments": [ { "id": "337573", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce the error using:\r\n\r\nTitanium SDK 3.5.0.v20141222103320\r\nStudio 3.4.1.201410281743 \r\nXcode 6.1.1 & 6.1.0\r\nAlloy 3.4.1\r\nCLI 3.4.1\r\n\r\nOn: \r\niPad mini, iOS 8.1\r\niPhone 6, iOS 8.2b3\r\niPhone 6 Plus, iOS 8.1\r\n\r\nExpected alert is shown and the image appears in the photo gallery", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-29T18:46:01.000+0000", "updated": "2014-12-29T18:46:01.000+0000" }, { "id": "337577", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kvelummaylum] This might be a timing issue, as the test code is minimal. Please try again, and try on other systems to get a better sense of the impact. ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-29T19:10:51.000+0000", "updated": "2014-12-29T19:10:51.000+0000" }, { "id": "337581", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can not reproduce. What is the error that you are seeing?", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-29T19:35:02.000+0000", "updated": "2014-12-29T19:35:02.000+0000" }, { "id": "414547", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:11:12.000+0000", "updated": "2017-03-21T22:11:12.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }