FileManager root node ID is hard-coded to zero

I am using the FileManager with flat data and I have found that when creating the file data, you must set the ID of the root node to zero or else creation of the FileManager fails. This seems like a bug. I have created a StackBlitz (https://stackblitz.com/edit/angular-negxsz?file=src%2Fapp.component.ts) to show the problem. When you open the StackBlitz you see that the FileManager shows an error stating that it cannot load empty data. In the code, if you change the value of the rootFoldeId variable to '0' or 0, the FileManager will load correctly.


4 Replies

SA SureshRajan Alagarsamy Syncfusion Team July 4, 2024 10:38 AM UTC

Hi Anthony,


We have reviewed your query regarding the difficulties in setting value for root folder id in the File Manager component with flat data support. Upon further validation, we were able to replicate the reported issue in the File Manager component. We have consider this as a bug on our end. The fix for this issue will be included in the weekly patch release scheduled for July 16, 2024.


You can track the status of the fix through the following link.


Feedback: https://www.syncfusion.com/feedback/59249/rendering-issue-in-file-manager-with-flat-data-support-based-on-root-folder-id


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Suresh.



AN Anthony July 4, 2024 02:13 PM UTC

Suresh, thank you for looking into this and confirming that it is a bug.



EM Emilie August 6, 2024 03:07 PM UTC

Hi,

I'm using @syncfusion/ej2-react-filemanager version 26.2.7 and get the same error. 
Has a fix been published for the react package?

Thank you for your help,

Regards,
Emilie



SA SureshRajan Alagarsamy Syncfusion Team August 7, 2024 06:28 PM UTC

Hi Anthony & Emilie,


Thanks for your patience.


The issue with “Rendering issue in File Manager with flat data support based on root folder Id” has been resolved in this release. To access this fix, we suggest you update the package to 26.2.4 or above. We include the sample in the latest version for your reference.


Sample : https://stackblitz.com/edit/angular-negxsz-zjmjoa?file=src%2Fapp.component.ts


Feedback : https://www.syncfusion.com/feedback/59249/rendering-issue-in-file-manager-with-flat-data-support-based-on-root-folder-id


Release Notes : https://ej2.syncfusion.com/angular/documentation/release-notes/26.2.4?type=all#file-manager


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Regards,

Suresh.


Loader.
Up arrow icon