cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier Puerto <jav...@apache.org>
Subject Re: File transfer and HTTP caching
Date Mon, 16 Jun 2014 09:20:03 GMT
I've created a test case for the caching problem that works fine with my
patched plugin. The problem is that with the unpatched plugin versoin, the
test doesn't works because the getMetadata method (nor getFile) it's
working if the file was corrupted by the bug. The method is not executed at
all, success nor error callbacks. In the issue comments there's a deep
explanation and the complete test attached.

Does anyone experienced this issue before? the method is supposed to work
and indeed it's working with the patched file-transfer plugin. A new bug?


2014-06-12 11:08 GMT+02:00 Javier Puerto <jpuerto@gmail.com>:

> Hi all cordova developers,
>
> I'm working on a project based on the Apache Cordova framework. Using the
> file-transfer plugin I've noticed that the behaviour for HTTP cached
> resources is not correct. I've opened an issue explaining the problem
>
> https://issues.apache.org/jira/browse/CB-6928
>
> I've also created a patch for the issue in the fork I've done from github
> for Android only
>
> https://github.com/jpuerto/cordova-plugin-file-transfer
>
> I don't know if others implementations has the same problem as I didn't
> tested for other platform.
>
> I've read that for contributing, the patch must pass the tests. Could
> someone guide me to run the tests? there's no tests in the file transfer
> repository, is there another project for testing?
>
> Thanks and salu2.
>
> PD: I've also moved the OutputStream initialization just before it's used
> there's no need to close the output stream twice.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message