cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kerri Shotts (JIRA)" <>
Subject [jira] [Commented] (CB-12444) checkFile error on non-existent file
Date Fri, 10 Feb 2017 20:12:41 GMT


Kerri Shotts commented on CB-12444:

Ah; I think you're referring to this:

This is a third-party wrapper around the File API, so I would report your suggestion to them.


> checkFile error on non-existent file
> ------------------------------------
>                 Key: CB-12444
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>         Environment: Android 6.0
>            Reporter: Sergio Talente
> A call to File.checkFile() on a non-existent file results in a callback error with code
> The function specification of checkFile() says:
> "Returns a Promise that resolves with a boolean or rejects with an error."
> Even if it is not further clarified in the specification, is almost intuitive expecting
that it should return a Promise  "false" if the file doesn't exist, instead of resulting in

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message