Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
If I rename a file like filename to filename1 and save the app crashes.
While if I change the name of a file filename.ext to filename and viceversa, everything works fine.
follow browser console after a crash
blazor.server.js:1 [2022-12-12T17:11:47.989Z] Error: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. (Parameter 'startIndex')
at System.String.Substring(Int32 startIndex, Int32 length)
at Syncfusion.Blazor.FileManager.Internal.FileManagerDialog`1.RenameClick()
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Syncfusion.Blazor.Internal.SfBaseUtils.InvokeEvent[T](Object eventFn, T eventArgs)
at Syncfusion.Blazor.Buttons.SfButton.OnClickHandler(MouseEventArgs args)
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
bye