You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm using ej2-angluar filemanager component.
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'
Here I click on Templates folder, the payload I send to backend becomes '//home//home//invince//Templates/'
After some debug, I guess something is wrong on @syncfusion\ej2-filemanager\src\file-manager\common\operations.js line 751 when generatePath(parent).
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)
The text was updated successfully, but these errors were encountered:
Based on the details you provided, we understand that you are experiencing an issue with the path property of the FileManager component. To validate this issue on our end, we have prepared a sample using the property and followed the replication steps. However, the path value updates correctly without any issues.
We suspect that the issue may be due to the value assigned to the path attribute. To display files and folders correctly, you need to set an appropriate filter path for the path property (the traversal path of the current item from the root folder). Please ensure that the path is correctly configured on your end.
If you are still experiencing any issues, please provide a code snippet related to how the component is rendered, any customized code related to the path attribute, and customizations for the read action on the provider (type of provider). This information will help us investigate your query further and provide you with a prompt solution.
Hello,

I'm using ej2-angluar filemanager component.
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'

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

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

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)
The text was updated successfully, but these errors were encountered: