[jira] [Commented] (CB-6022) Need to update docs re: fullPath change

2014-02-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900383#comment-13900383
 ] 

ASF subversion and git services commented on CB-6022:
-

Commit 493c32b484d42d10c7457b292e285d5df33ce76c in branch refs/heads/dev from 
[~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=493c32b ]

CB-6022: Add upgrade notes to doc


> Need to update docs re: fullPath change
> ---
>
> Key: CB-6022
> URL: https://issues.apache.org/jira/browse/CB-6022
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, Plugin File Transfer
>Reporter: Ian Clelland
>Assignee: Ian Clelland
>
> For backwards compatibility, FileTransfer can take device-absolute file paths 
> as well as file URLs.
> Previously, there were two methods that would get you a file path from a 
> FileEntry: Entry.toURL() and Entry.fullPath would both expose the absolute 
> path. With the new version (1.0.0) of File, fullPath now properly represents 
> the path relative to the filesystem root, rather than the device root.
> We should update the docs to say that if you were previously using 
> {{entry.fullPath}} to obtain filesystem paths, you should switch to 
> {{entry.toURL()}} and use URLs instead.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6022) Need to update docs re: fullPath change

2014-02-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900382#comment-13900382
 ] 

ASF subversion and git services commented on CB-6022:
-

Commit 31ac00d3ae35f9ca280cf4e6c9edc9df23ea95b5 in branch refs/heads/dev from 
[~iclelland]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=31ac00d
 ]

CB-6022: Add backwards-compatibility notes to doc

Also change "URI" and "path" references to "URL" where appropriate for 
consistency.


> Need to update docs re: fullPath change
> ---
>
> Key: CB-6022
> URL: https://issues.apache.org/jira/browse/CB-6022
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, Plugin File Transfer
>Reporter: Ian Clelland
>Assignee: Ian Clelland
>
> For backwards compatibility, FileTransfer can take device-absolute file paths 
> as well as file URLs.
> Previously, there were two methods that would get you a file path from a 
> FileEntry: Entry.toURL() and Entry.fullPath would both expose the absolute 
> path. With the new version (1.0.0) of File, fullPath now properly represents 
> the path relative to the filesystem root, rather than the device root.
> We should update the docs to say that if you were previously using 
> {{entry.fullPath}} to obtain filesystem paths, you should switch to 
> {{entry.toURL()}} and use URLs instead.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)