cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1808) FileEntry.moveTo across file systems incorrectly calls the success callback
Date Fri, 02 Nov 2012 18:55:12 GMT

     [ https://issues.apache.org/jira/browse/CB-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simon MacDonald resolved CB-1808.
---------------------------------

    Resolution: Fixed

So I fixed this so when you try to move a file or directory across file systems we fall back
to copying the data then deleting the original. After the copy I check to make sure it work
properly before doing the delete. If the copy/delete phase fails then the error callback is
called.
                
> FileEntry.moveTo across file systems incorrectly calls the success callback
> ---------------------------------------------------------------------------
>
>                 Key: CB-1808
>                 URL: https://issues.apache.org/jira/browse/CB-1808
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.5.0, 2.2.0
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>             Fix For: 2.3.0
>
>
> FileEntry.moveTo across file systems incorrectly calls the success callback
> When you try to move files across file systems on Android the move command fails but
we still call the success callback. Need to check for this situation and call the error callback.

--
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

Mime
View raw message