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

Filemanager path properties is not working correctly #191

Open
invince opened this issue Dec 30, 2024 · 0 comments
Open

Filemanager path properties is not working correctly #191

invince opened this issue Dec 30, 2024 · 0 comments

Comments

@invince
Copy link

invince commented Dec 30, 2024

Hello,
I'm using ej2-angluar filemanager component.
image

When I set the path properties for ex /home/invince, the filemanager can open correctly the path, however when I click no matter folder or file in the page, it sends an incorrect path for read something like '//home//home//invince'
image

Here I click on Templates folder, the payload I send to backend becomes '//home//home//invince//Templates/'
image

After some debug, I guess something is wrong on @syncfusion\ej2-filemanager\src\file-manager\common\operations.js line 751 when generatePath(parent).
image

For me, no need generate it, cause parent already has path properties (no matter I set path or not, it has already value on it). NOTE: I use only angular version, maybe it's not the case for all.
I created a local patch myself, just comment that generatePath(parent), everything works well (no matter I set path or not for the component)

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

1 participant