cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier Bover (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12531) File not found when selecting from Google Drive folder
Date Thu, 02 Mar 2017 18:41:45 GMT

    [ https://issues.apache.org/jira/browse/CB-12531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892752#comment-15892752
] 

Pier Bover commented on CB-12531:
---------------------------------

This seems to be the related Exception:

{quote}
3-02 13:17:49.793 29546 29592 W Documents: Failed to query
03-02 13:17:49.793 29546 29592 W Documents: android.os.OperationCanceledException: The operation
has been canceled.
03-02 13:17:49.793 29546 29592 W Documents: 	at android.os.CancellationSignal.throwIfCanceled(CancellationSignal.java:54)
03-02 13:17:49.793 29546 29592 W Documents: 	at android.content.ContentProviderClient.query(ContentProviderClient.java:132)
03-02 13:17:49.793 29546 29592 W Documents: 	at com.android.documentsui.DirectoryLoader.loadInBackground(DirectoryLoader.java:167)
03-02 13:17:49.793 29546 29592 W Documents: 	at com.android.documentsui.DirectoryLoader.loadInBackground(DirectoryLoader.java:94)
03-02 13:17:49.793 29546 29592 W Documents: 	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
03-02 13:17:49.793 29546 29592 W Documents: 	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
03-02 13:17:49.793 29546 29592 W Documents: 	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
03-02 13:17:49.793 29546 29592 W Documents: 	at android.os.AsyncTask$2.call(AsyncTask.java:295)
03-02 13:17:49.793 29546 29592 W Documents: 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
03-02 13:17:49.793 29546 29592 W Documents: 	at com.android.documentsui.ProviderExecutor.run(ProviderExecutor.java:107)
{quote}

> File not found when selecting from Google Drive folder
> ------------------------------------------------------
>
>                 Key: CB-12531
>                 URL: https://issues.apache.org/jira/browse/CB-12531
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 3.5.0
>         Environment: android
>            Reporter: Pier Bover
>
> In Android, when using an <input type="file"> and selecting a file from the Drive
folder, and then trying to upload it with JS, produces a file not found error.
> Here is a project using the Firebase SDK that reproduces the error and more detailed
description of the problem:
> https://github.com/PierBover/firebase-upload-cordova
> At first I thought the problem was in the Firebase SDK, but I replaced it with Filestack
and the problem persists. Also the Firebase support team reproduced the error and in their
opinion it is a problem with the Cordova app.
> When trying to upload a file to a website like imgur.com using Chrome it works fine so
it could be related to some obscure permissions.
> Hopefully someone here will be able to rule out if it's an Android bug or some limitation
of Cordova.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message