Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v14.0.1 break the folder upload function #268

Closed
yangfan0356 opened this issue Oct 11, 2022 · 2 comments
Closed

v14.0.1 break the folder upload function #268

yangfan0356 opened this issue Oct 11, 2022 · 2 comments

Comments

@yangfan0356
Copy link

Tested both v14.0.1 and v14.0.0.
V14.0.0 works fine, but V14.0.1 does not work on "folder" upload anymore. Can be tested using the demo example.

@babette-landmesser
Copy link

babette-landmesser commented Nov 23, 2022

For me, the version 14.0.0 doesn't work either. 13.0.0 worked like a charm but since upgrading to 14, the folder upload is broken. (My project is using Angular 14)
When uploading a folder, the onFileDrop event returns this array:

[
    {
        "relativePath": "folder1",
        "fileEntry": {
            "name": "folder1",
            "isDirectory": false,
            "isFile": true
        }
    }
]

It's a folder on my system and it has files inside. As you can see, even the 'isDirectory' value is returned false.

When switching back to version 13, the exact same function returns the following array:

[
    {
        "relativePath": "folder1/image1.png",
        "fileEntry": {}
    },
    {
        "relativePath": "folder1/image2.png",
        "fileEntry": {}
    }
]

I hope this additional info helps to find the solution :)

@georgipeltekov
Copy link
Owner

The regression should be fixed in the latest 14.0.2, pushed just now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants