You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Babu Muralidharan (Created) (JIRA)" <ji...@apache.org> on 2012/03/15 11:27:37 UTC

[jira] [Created] (CB-339) Able to create directory/file without parent directory

Able to create directory/file without parent directory
------------------------------------------------------

                 Key: CB-339
                 URL: https://issues.apache.org/jira/browse/CB-339
             Project: Apache Callback
          Issue Type: Bug
          Components: WP7
    Affects Versions: 1.3.0
         Environment: Windows File system
            Reporter: Babu Muralidharan
            Assignee: Jesse MacFadyen
             Fix For: 1.6.0


1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.

2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-339) Able to create directory/file without parent directory

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-339:
--------------------------------

    Fix Version/s:     (was: 2.1.0)
                   2.3.0
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Herm Wong
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen updated CB-339:
-------------------------------

    Fix Version/s: 1.8.0
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>             Fix For: 1.7.0, 1.8.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen updated CB-339:
-------------------------------

    Component/s: WP8
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7, WP8
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen reassigned CB-339:
----------------------------------

    Assignee: Herm Wong  (was: Jesse MacFadyen)
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Herm Wong
>            Priority: Minor
>             Fix For: 1.8.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447859#comment-13447859 ] 

Jesse MacFadyen commented on CB-339:
------------------------------------

I believe this issue has been addresses with other File API fixes.  Please retest.
                
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Herm Wong
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen resolved CB-339.
--------------------------------

    Resolution: Fixed

Commit is here:
https://github.com/purplecabbage/incubator-cordova-wp7/commit/79792880b12574dda080c5f24c5f5bf8f3223ce6
    

Here is a brief test script you can use to verify for yourself...

{code:javascript} 
    window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onRequestFileSystemSuccess, null);

        function onRequestFileSystemSuccess(fileSystem) {
            var entry = fileSystem.root;
            //entry.getFile("example/file/boob/tube/scooby.txt", { create: true, exclusive: false }, onGetDirectorySuccess, onGetDirectoryFail);
            entry.getDirectory("example/file/boob/tube", { create: true, exclusive: false }, onGetDirectorySuccess, onGetDirectoryFail);
        }

        function onGetDirectorySuccess(dir) {
            console.log("Created dir " + dir.fullPath);
        }

        function onGetDirectoryFail(error) {
            console.log("Error creating directory " + error.code);
        }
{code}
                
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen updated CB-339:
-------------------------------

    Fix Version/s: 1.7.0
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Jesse MacFadyen
>             Fix For: 1.6.0, 1.7.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen updated CB-339:
-------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s:     (was: 1.6.0)
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>             Fix For: 1.7.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen updated CB-339:
-------------------------------

    Fix Version/s:     (was: 1.8.0)
                   1.9.0
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Herm Wong
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen reassigned CB-339:
----------------------------------

    Assignee: Jesse MacFadyen  (was: Herm Wong)
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen updated CB-339:
-------------------------------

    Fix Version/s:     (was: 1.7.0)
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>             Fix For: 1.8.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-339) Able to create directory/file without parent directory

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen updated CB-339:
-------------------------------

    Fix Version/s:     (was: 2.0.0)
                   2.1.0
    
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Herm Wong
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-339) Able to create directory/file without parent directory

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Brooks updated CB-339:
------------------------------

    Fix Version/s:     (was: 1.9.0)
                   2.0.0

Moving this to 2.0.0 by Herm's request.
                
> Able to create directory/file without parent directory
> ------------------------------------------------------
>
>                 Key: CB-339
>                 URL: https://issues.apache.org/jira/browse/CB-339
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>         Environment: Windows File system
>            Reporter: Babu Muralidharan
>            Assignee: Herm Wong
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> 1. Refering to getDirectory() method, user could create a directory whose parent directory does not exist.This is not inline with Phonegap documentation.
> 2. Refering to  getFile() method,user could create a file whose parent directory does not exist. This is not inline with Phonegap documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira