Blazor app crashes when multiple files are dragged and dropped in a folder

Hi Syncfusion Team,

We have a scenario where:

  1. Multiple files were uploaded via the File Manager component on the root folder.
  2. A new folder was created in the root folder.
  3. All the multiple files that were uploaded on step 1 were dragged and dropped into the folder created in step 2.
  4. File manager loads for a minute, then the Attempting to reconnect page appears.
Upon checking the logs from Event Viewer, we found out that there is a stack overflow exception happening underneath when the above scenario is replicated. Can you investigate this and suggest appropriate steps to circumvent this issue?

Thanks!
Denzel

6 Replies

IL Indhumathy Loganathan Syncfusion Team October 5, 2021 03:38 PM UTC

Hi Denzel, 
 
Greetings from Syncfusion support. 
 
We have validated your reported query in Blazor File Manager but unable to replicate the reported issue(during drag and drop). For your reference, we have recorded the video footage of the behavior and the sample. You can find them in the below links. 
 
 
 
Kindly check whether you are facing the issue in the above sample too. Share the file service provider used in your sample along with your package version and an issue replicated video(if possible). These details would help us to further validate on this issue. 
 
Please let us know if you need any further assistance. 
 
Regards, 
Indhumathy L 



RS Roy Sunga replied to Indhumathy Loganathan October 12, 2021 12:05 PM UTC

Hi Syncfusion Team,

I am attaching a screen recording on what happens to the page when I try to drag and drop files as well as the code to the controller and the page.

Just a brief summary based on my testing, I think this line is what is causing the File Manager to crash when dragging and dropping files.

When the side navigation bar is displayed, the drag and drop feature works perfectly. However, when this line is present (which it is in our current file manager configuration because we don't want the side navigation bar to be visible) the app crashes for some reason.

I have tried to keep the side navigation bar visible but setting the max width and min width in order to still "hide" the file manager component but it doesn't work. The side navigation bar is still on display. Here's how I set the side navigation bar without setting it's Visible property to false.

Please assist on how we can resolve this issue. Thanks!



Attachment: DragAndDropIssueAttachments_e75471c9.zip



IL Indhumathy Loganathan Syncfusion Team October 12, 2021 01:44 PM UTC

Hi Denzel, 
 
We have validated your reported query in Blazor File Manager with shared code snippets and able to reproduce the reported issue at out end. We have considered this issue as a bug and the fix for this issue will be included in our Volume 3 SP release which is expected to be rolled out by the mid of November 2021. You can track the status through the below link. 
 
 
We appreciate your patience. 
 
Regards, 
Indhumathy L 



RS Roy Sunga replied to Indhumathy Loganathan October 12, 2021 09:18 PM UTC

Thank you!

For the meantime, is it possible to hide the side navigation menu without setting the Visible property to false? 



IL Indhumathy Loganathan Syncfusion Team October 13, 2021 01:48 PM UTC

Hi Denzel, 
 
We have validated your requirement. As of now you can hide the NavigationPane of File Manager component by using the below CSS style. 
 
<SfFileManager ID="file-manager" 
                   CssClass="filemanager" 
                   TValue="FileManagerDirectoryContent" 
                   View="ViewType.Details" 
                   AllowDragAndDrop="true" 
                   Path="@currentPath"> 
                  ….. 
             <FileManagerNavigationPaneSettings Visible="true"></FileManagerNavigationPaneSettings> 
... 
... 
.filemanager .e-navigation{ 
        display: none; 
    } 
 
 
You can track the status of fix through the shared feedback. Please get back to us if you need any further assistance. 
 
Regards, 
Indhumathy L 



PM Prasanth Madhaiyan Syncfusion Team August 18, 2022 07:20 AM UTC

Hi Denzel,


Thanks for your patience.


We are glad to announce that our patch release (V20.2.44) has been rolled out successfully. The issue with “Reconnecting server issue occurs while performing drag and drop in Blazor File Manager component" has been resolved in this release. To access this fix, we suggest you update the package to the 20.2.44.


Sample :  https://www.syncfusion.com/downloads/support/directtrac/general/ze/FileManagerPhysicalProviderSample1470917338.zip


Release notes : https://blazor.syncfusion.com/documentation/release-notes/20.2.44?type=all#file-manager


Feedback :  https://www.syncfusion.com/feedback/29409/in-blazor-file-manager-reconnecting-server-issue-occurs-while-performing-drag-and


Please let us know if you need any further assistance.


Regards,

Prasanth Madhaiyan.


Loader.
Up arrow icon