Incorrect validation message..

Steps:

  1. Rename "Business letter 5" into "Business letter"
    • It will show validation message—this is correct
    • Image_4417_1761179040997
  2. Rename "Business letter 5" into "Business letter X"
    • It will still show validation message even if there is no the same file name—this is incorrect
    • Image_7574_1761179405615




5 Replies

AX Axel October 23, 2025 12:58 AM UTC

The same happens when you drag/drop or copy/paste—once the validation error shows, the next attempt will fail as well, even if it is valid.


For drag/drop scenario --create 2 files with the same name in different folders. Now, drag and drop the file into the same folder as the other file; it will show "Duplicate Items" (correct). Now try to drag/drop it in a different folder without a duplicate file—it will still show the validation message (incorrect).



LD LeoLavanya Dhanaraj Syncfusion Team October 23, 2025 06:28 PM UTC

Hi Axel,


Greetings from Syncfusion support.


Based on the details you provided, we understand that you are experiencing an issue with renaming a file with an existing filename and the drag-and-drop scenario in the FileManager component. To validate your issue, we tested both renaming the file and dragging and dropping a file that is already present in the target folder.

Our tests indicate that these functionalities work correctly, as the validation message appears as expected. When attempting to rename the file with the existing file name, a validation message is displayed; however, when we changed the name to something else, it updated properly without any issues. The same scenario also works for the drag-and-drop case. For your reference, we have included the validated sample.


Sample(client side) : https://stackblitz.com/edit/qvmwzmyf-ht3a9evd?file=index.js


Server project : Attached as a zip file.


To replicate and validate your exact issue scenario, we need additional details about your application configuration. We would greatly appreciate your assistance in providing additional context. This information will help us identify the specific conditions causing the issue in your environment:


- What type of data is being loaded in your project? Is it flat data or data with AJAX settings?

- Are you using one of our listed providers or a custom provider? If you are using AJAX settings, please share code snippets.

- What events, property combinations and methods have you utilized?

- If you can provide a minimal reproducible example, along with steps to replicate the issue in the form of video footage, it will help us assist you more effectively in finding a solution. Your input will be invaluable in helping us understand your issue and providing a timely resolution.


Regards,

Leo Lavanya Dhanaraj


Attachment: ej2aspcorefileprovider_8944143.zip


AX Axel October 24, 2025 02:56 AM UTC

Hi Leo,


I was able to replicate it using this sample link:

https://ej2.syncfusion.com/react/demos/file-manager/flat-data/


Here are the replication steps:

  1. Navigate to "Files > Downloads"
  2. Copy/Paste the "Sample_Work_Sheet" file
  3. Rename the new file "Sample_Work_Sheet (0)" to "Sample_Work_Sheet"
    • The validation is correct
    • Image_6360_1761273948764 
  4. Without closing the rename dialog, rename it again like "Sample_Work_Sheet_X"
    • This is incorrect, ​since the "Sample_Work_Sheet_X" doesn't exists yet
    • Image_9055_1761273909376 

Thank you,
Axel


SS Sivakumar ShunmugaSundaram Syncfusion Team October 24, 2025 05:48 PM UTC

Hi Axel,

 

Your reported problem is considered a bug. We’re currently working on an optimized solution, and the fix for this defect will be included in our weekly patch release on November 11, 2025. You can track the status of the fix at the following link:

 

Feedback: Incorrect validation message in react File Manager with flat data configuration in React | Feedback Portal

 

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,

Sivakumar S



PS Praveen Sellappan Syncfusion Team November 18, 2025 12:54 PM UTC

Hi Axel,


Incorrect validation message in react File Manager with flat data has been resolved in this release. To access this fix, we suggest you update the package to the latest version(31.2.12). We have also included the sample in the main version for your reference.


Root cause: In the Flat Data setup, when a rename failed, the error message didn't get cleared. So if you tried to rename again (without closing the dialog), it still showed the old error — even if the new name was perfectly fine and didn't clash with anything.



Sample: https://stackblitz.com/edit/react-1v3biwmm?file=index.html


Feedback :  Incorrect validation message in react File Manager with flat data configuration in React | Feedback Portal


Release Notes: We will refresh at earliest.


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


Regards,

Praveen Sellappan


Loader.
Up arrow icon