cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Updated] (CB-6519) Recursive directory creation fails when spaces in directory names
Date Mon, 05 May 2014 23:20:21 GMT


Shazron Abdullah updated CB-6519:

    Component/s:     (was: iOS)

> Recursive directory creation fails when spaces in directory names
> -----------------------------------------------------------------
>                 Key: CB-6519
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 3.4.0
>         Environment: iOS (have not tested on other platforms)
>            Reporter: David Hogg
>            Priority: Minor
> Previous to the File Plugin release (Feb 2014), it was possible to recursively create
directories by calliing dirEntry.getDirectory using the dirEntry returned from the getDirectory
> Since the Feb release (including the latest File Plugin (v 1.1.0) this will fail if directory
names  have spaces in the name (but only if recursive. Eg. Can create 'Some Directory' fine
in root, but not 'Some Directory/Another Directory').
> Problem can be reproduced by using the filer.js library  []
and calling mkdir.  Here is another library []
that does not suffer from this problem as it always returns to the root dirEntry during folder
> As an aside, it would be awesome to have a more convenient file system API in cordova
that directly offers support for recursive folders, particularly since it looks like the html5
file system API itself ([],[])
appears to be dead or dying?

This message was sent by Atlassian JIRA

View raw message