Skip to content

[BUG] Incorrect path for files in sub-folder #6

@geldf

Description

@geldf

Describe the bug 🐛:
First of all, thank you for your great library! Been using this for almost a year and it's been really helpful!
But while testing I realized that there's a bug for the files in a sub folder. No issue with files that are not in a folder.

To Reproduce:

  1. I added "Test.doc" in Download/testing
  2. handlePath OZ returned an incorrect path: /storage/emulated/0/Download/Test.doc

Expected behavior:
Returned path should be:
/storage/emulated/0/Download/testing/Test.doc

Screenshots:
image

Smartphone (please complete the following information):

  • OS: Samsung s22+, Android 12, Target SDK: 32
  • HandlePath OZ version: 1.0.7

Additional context:
Note that there's no issue with local files that are not in any sub-folder. Cloud files work fine too.
I think have something to do with "msf". Underlined in red have the issue, the rest are working fine:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions