Hello,
When using the syncfusion sqldatabaseprovider I'm getting some odd behavior when zipping the files/folders.
I am unable to duplicate the issue on stackblitz or using the demo provided at
https://ej2.syncfusion.com/react/demos/file-manager/overview/ as downloading from the root does not work on these platforms.
When attempting to download from the root "Files" folders that contain subfolders do not have correct zip entries.
With the following directory structure:
I've attached the resulting zip file. Is there a way you could verify this is an issue or perhaps I've modified the code incorrectly and need to take care of this on my end?
Thanks
Tony
More info:
This occurs when selecting "Download" from the context menu on the "Files" root folder in the tree view. Navigating to the root directory and then selecting all items in the content pane then bringing up the context menu and downloading works as expected.
Downloading individual files/folders also creates correct zip entries.
Thanks
Tony
Hi Tony,
We can replicate the issue with the SQL file provider and considered this a bug. The fix for this issue will be included in our May 17th weekly patch release.
You can track the status through the below portal link.
We appreciate your patience.
Regards,
Keerthana R.
Hi Tony,
Sorry for the inconvenience.
Based on the level of priority, we are sorry that the issue “Folders order is improper while downloading the root folder from the Navigation pane” is not included in this weekly patch release. We are working on this with priority, and we will include this fix in our weekly patch release on June 14, 2022.
We appreciate your patience.
Regards,
Indhumathy L
Hi Tony,
We regret to inform you that due to complexity, we were unable to include the fix as promised. We need some additional time to resolve this issue. We will include the fix in our Volume release which is expected to be released on June 29, 2022. We appreciate your patience.
Regards,
Indhumathy L
Hi Tony,
Thanks for your patience.
The issue "Folders order is improper while downloading the root folder from the Navigation pane" has been resolved in the SQL File Service provider and the changes are refreshed in the online GitHub location.
For your reference, we have attached the sample and SQL File Service provider.
Sample : https://stackblitz.com/edit/react-kxccl3-waqibk?file=index.js
Service provider: https://github.com/SyncfusionExamples/sql-server-database-aspcore-file-provider
Release notes: https://github.com/SyncfusionExamples/sql-server-database-aspcore-file-provider/blob/master/CHANGELOG.md#bug-fixes
Please let us know if you need any further assistance.
Regards,
Prasanth Madhaiyan.