{ "id": "161041", "key": "TIMOB-23569", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-30T08:00:56.000+0000", "created": "2016-06-13T14:17:39.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "52089", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159640", "key": "TIMOB-23229", "fields": { "summary": "ANDROID: Support to Photo upload from remote webpage in webview", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2018-08-06T17:49:23.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" } ], "attachment": [], "flagged": false, "summary": "SDK Release containing 2 Bug Fixes", "creator": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": null, "closedSprints": [ { "id": 649, "state": "closed", "name": "2016 Sprint 13 SDK", "startDate": "2016-06-18T00:25:17.303Z", "endDate": "2016-07-02T00:25:00.000Z", "completeDate": "2016-07-04T04:25:16.889Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "388230", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey there,\r\n\r\nthe first one can be tracked in the above-mentioned ticket, the second one is fixed in all Ti.SDK versions starting in 5.0.0 (so also 5.1.0, 5.2.0 and 5.3.0, ...). Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-13T20:37:48.000+0000", "updated": "2016-06-13T20:37:48.000+0000" }, { "id": "388281", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "According to TIMOB-23229, the last version I can use with it fixes is 5.2.2. and as it is 5.x version, it should include the second bug resolution. Am I right?\r\n\r\nWhere Can I find compiled 5.2.2 SDK version? ", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-14T12:17:19.000+0000", "updated": "2016-06-14T12:17:19.000+0000" }, { "id": "388282", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "msamah this is the ticket I talked to you before. Txs for your supporte team!", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-14T12:18:56.000+0000", "updated": "2016-06-14T12:18:56.000+0000" }, { "id": "388283", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@msamah ", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-14T12:20:02.000+0000", "updated": "2016-06-14T12:20:02.000+0000" }, { "id": "388438", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~sidneyhaddad] The fix in TIMOB-23229 should have resolved both the issues that you mention. The solution for TIMOB-23229 was to provide a custom SDK with that fix, thus, it's not in the Master Branch.\r\n\r\nDid you previously use a version that allowed you to have that functionality? Were you using that?", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-06-16T02:33:28.000+0000", "updated": "2016-06-16T02:33:28.000+0000" }, { "id": "388505", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@msamah I was using the modified SDK posted on description of TIMOB-23229. I understood that version 5.2.2 should have both fixes, problem is that I didn't find this compiled SDK version anywhere. where can I find it? Any idea on when this fix is moving to master Branch?", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-16T23:59:36.000+0000", "updated": "2016-06-16T23:59:36.000+0000" }, { "id": "388645", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Do you guys have any news about it? Our app users are waiting for this :( and I don't know how to resolve it yet. txs for your support.", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-20T13:29:27.000+0000", "updated": "2016-06-20T13:29:27.000+0000" }, { "id": "388649", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~sidneyhaddad], the latest Titanium SDK can be downloaded through Appcelerator Studio or manually [here|http://builds.appcelerator.com/#5_2_X], but you still should install it through Studio.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-20T14:55:38.000+0000", "updated": "2016-06-20T14:55:38.000+0000" }, { "id": "388650", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@hknoechel, txs for you quick message! I just compiled using version osx/5.2.3.v20160404160237 and I am still having problem on \"webview upload error on android\" resolved on TIMOB-23229, any idea?", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-20T15:16:17.000+0000", "updated": "2016-06-20T15:16:17.000+0000" }, { "id": "388653", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "It is not exposed in the SDK, yet. We are currently investigating a timeline to see if and when we can provide more information. Thank you!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-20T15:21:05.000+0000", "updated": "2016-06-20T15:21:05.000+0000" }, { "id": "388654", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I hope it doesn't take too much! thank you for your support. I will wait your words than. ", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-20T15:31:05.000+0000", "updated": "2016-06-20T15:31:05.000+0000" }, { "id": "388882", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@hknoechel do you guys have any update on this issue? Things are getting worst here because of this bug. :( Txs team!", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-23T00:22:56.000+0000", "updated": "2016-06-23T00:22:56.000+0000" }, { "id": "388988", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-06-24T01:34:59.000+0000", "updated": "2016-06-24T01:34:59.000+0000" }, { "id": "389021", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I have no environment set for this compilation, would it be possible for you guys to compile it and make it available for me to resolve this issue?", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-24T12:50:36.000+0000", "updated": "2016-06-24T12:50:36.000+0000" }, { "id": "389131", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@hknoechel is it possible to have this little help from you guys?", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-27T15:12:32.000+0000", "updated": "2016-06-27T15:12:32.000+0000" }, { "id": "389217", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~sidneyhaddad] This is the compiled SDK from that branch https://drive.google.com/file/d/0Bwc0Q8uRp3ZvVnlxSzRoMFo3Mnc/view?usp=sharing\r\n\r\nThis is just a temporary link and will only be that for a short while.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-06-28T03:46:44.000+0000", "updated": "2016-06-28T03:46:44.000+0000" }, { "id": "389218", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "I'll be adding this fix/PR in 6.0.0.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-06-28T03:47:00.000+0000", "updated": "2016-06-28T03:47:00.000+0000" }, { "id": "389219", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR for master: https://github.com/appcelerator/titanium_mobile/pull/8082", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-06-28T03:47:51.000+0000", "updated": "2016-06-28T03:47:51.000+0000" }, { "id": "389248", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Great to know that it is going to be available on 6.0.0! Txs very much!\r\n\r\nI just tested it and the application is working just fine but in the log I see this message when I click in the from remote webview:\r\n\r\n[ERROR] : TiWebChromeClient: (main) [9148,23167] Unable to create Image File\r\n[ERROR] : TiWebChromeClient: java.io.IOException: open failed: EACCES (Permission denied)\r\n[ERROR] : TiWebChromeClient: \tat java.io.File.createNewFile(File.java:942)\r\n[ERROR] : TiWebChromeClient: \tat java.io.File.createTempFile(File.java:1007)\r\n[ERROR] : TiWebChromeClient: \tat ti.modules.titanium.ui.widget.webview.TiWebChromeClient.createImageFile(TiWebChromeClient.java:415)\r\n[ERROR] : TiWebChromeClient: \tat ti.modules.titanium.ui.widget.webview.TiWebChromeClient.onShowFileChooser(TiWebChromeClient.java:274)\r\n[ERROR] : TiWebChromeClient: \tat com.android.webview.chromium.WebViewContentsClientAdapter.showFileChooser(WebViewContentsClientAdapter.java:1069)\r\n[ERROR] : TiWebChromeClient: \tat org.chromium.android_webview.AwWebContentsDelegateAdapter.runFileChooser(AwWebContentsDelegateAdapter.java:220)\r\n[ERROR] : TiWebChromeClient: \tat org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)\r\n[ERROR] : TiWebChromeClient: \tat org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)\r\n[ERROR] : TiWebChromeClient: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : TiWebChromeClient: \tat android.os.Looper.loop(Looper.java:158)\r\n[ERROR] : TiWebChromeClient: \tat android.app.ActivityThread.main(ActivityThread.java:7229)\r\n[ERROR] : TiWebChromeClient: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : TiWebChromeClient: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)\r\n[ERROR] : TiWebChromeClient: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)\r\n[ERROR] : TiWebChromeClient: Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)\r\n[ERROR] : TiWebChromeClient: \tat libcore.io.Posix.open(Native Method)\r\n[ERROR] : TiWebChromeClient: \tat libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)\r\n[ERROR] : TiWebChromeClient: \tat java.io.File.createNewFile(File.java:935)\r\n[ERROR] : TiWebChromeClient: \t... 13 more\r\n\r\nThe app is working but this message is showing on log. Any idea?\r\n\r\nThose are the permissions I have on tiapp.xml\r\n\r\n \r\n \r\n \r\n \r\n", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-06-28T13:29:16.000+0000", "updated": "2016-06-28T13:29:16.000+0000" }, { "id": "389340", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "That error looks like it's a permission error on an Android 6.0+. https://developer.android.com/training/permissions/requesting.html\r\n\r\nYou need to request the permission at runtime in the app. Example:-\r\nhttp://docs.appcelerator.com/platform/latest/#!/api/Titanium.Filesystem-method-requestStoragePermissions", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-06-29T01:40:17.000+0000", "updated": "2016-06-29T01:40:17.000+0000" }, { "id": "389357", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "If you do not request the runtime permission, you would just not have the ability to take photos from the camera and upload it.\r\nThis error can be ignored otherwise.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-06-29T03:23:20.000+0000", "updated": "2016-06-29T03:23:20.000+0000" }, { "id": "392095", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Testcase is from TIMOB-19463\r\n{code}\r\nvar webview = Titanium.UI.createWebView({url:'http://demoserver.tacme.net:3030/MOFDIGI/Portal/new-waiste-container-mobile.html'});\r\n var window = Titanium.UI.createWindow();\r\n window.add(webview);\r\n window.open();\r\n{code}", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-08-01T07:45:57.000+0000", "updated": "2016-08-01T07:45:57.000+0000" }, { "id": "392110", "author": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "After opening the webview, click in button \"Choose\" and make sure that application open the view to select files.", "updateAuthor": { "name": "sidneyhaddad", "key": "sidneyhaddad", "displayName": "Sidney", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-08-01T11:58:59.000+0000", "updated": "2016-08-01T11:58:59.000+0000" }, { "id": "440140", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:23.000+0000", "updated": "2018-08-06T17:49:23.000+0000" } ], "maxResults": 38, "total": 38, "startAt": 0 } } }