[jira] [Updated] (CB-10577) Android plugin file: resolveLocalFileSystemURL produce incorrect value

2016-02-29 Thread Jason Ginchereau (JIRA)

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

Jason Ginchereau updated CB-10577:
--
Priority: Critical  (was: Major)

> Android plugin file: resolveLocalFileSystemURL produce incorrect value
> --
>
> Key: CB-10577
> URL: https://issues.apache.org/jira/browse/CB-10577
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Reporter: vldm
>Priority: Critical
>  Labels: android, triaged
> Attachments: index.js
>
>
> On android resolveLocalFileSystemURL  sets isDirectory and isFile properties 
> based on argument URL having trailing slash, and not on actual object type. 
> See attached test program, which currently outputs the following:
>  cdvfile://localhost/temporary/tst is file
>  cdvfile://localhost/temporary/tst/ is directory
> Correct output shall be:
>  cdvfile://localhost/temporary/tst is directory
>  cdvfile://localhost/temporary/tst/ is directory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10577) Android plugin file: resolveLocalFileSystemURL produce incorrect value

2016-02-22 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10577:
---
Labels: android triaged  (was: )

> Android plugin file: resolveLocalFileSystemURL produce incorrect value
> --
>
> Key: CB-10577
> URL: https://issues.apache.org/jira/browse/CB-10577
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Reporter: vldm
>  Labels: android, triaged
> Attachments: index.js
>
>
> On android resolveLocalFileSystemURL  sets isDirectory and isFile properties 
> based on argument URL having trailing slash, and not on actual object type. 
> See attached test program, which currently outputs the following:
>  cdvfile://localhost/temporary/tst is file
>  cdvfile://localhost/temporary/tst/ is directory
> Correct output shall be:
>  cdvfile://localhost/temporary/tst is directory
>  cdvfile://localhost/temporary/tst/ is directory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10577) Android plugin file: resolveLocalFileSystemURL produce incorrect value

2016-02-09 Thread vldmrrrr (JIRA)

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

vldm updated CB-10577:
--
Attachment: index.js

Test program demonstrating the issue

> Android plugin file: resolveLocalFileSystemURL produce incorrect value
> --
>
> Key: CB-10577
> URL: https://issues.apache.org/jira/browse/CB-10577
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Reporter: vldm
> Attachments: index.js
>
>
> On android resolveLocalFileSystemURL  sets isDirectory and isFile properties 
> based on argument URL having trailing slash, and not on actual object type. 
> See attached test program, which currently outputs the following:
>  cdvfile://localhost/temporary/tst is file
>  cdvfile://localhost/temporary/tst/ is directory
> Correct output shall be:
>  cdvfile://localhost/temporary/tst is directory
>  cdvfile://localhost/temporary/tst/ is directory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org