You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kuan Yi Ming (JIRA)" <ji...@apache.org> on 2014/06/26 16:40:24 UTC

[jira] [Created] (CB-7032) File Transfer upload fails to fire success function on Android

Kuan Yi Ming created CB-7032:
--------------------------------

             Summary: File Transfer upload fails to fire success function on Android
                 Key: CB-7032
                 URL: https://issues.apache.org/jira/browse/CB-7032
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File Transfer
    Affects Versions: 3.5.0
         Environment: Used version 0.4.3 and 0.4.4 of the File Transfer plugin. Tested on Android
            Reporter: Kuan Yi Ming


The upload function fails to trigger the success function despite it successfully uploading the file to the server. The debug logs indicate that the native code in FileTransfer.java has executed successfully though, as the debug logs prints the response code and headers, in addition to these lines:

{code:Title=FileTransfer.java}
Log.d(LOG_TAG, "got response from server");
Log.d(LOG_TAG, responseString.substring(0, Math.min(256, responseString.length())));
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)