linagora / twake-drive

The open-source alternative to Google Drive.
GNU Affero General Public License v3.0
106 stars 21 forks source link

[Bug] It is possible to have 2 subfolders with the same name in the same folder if you do some moving around #706

Closed tprudentova closed 3 weeks ago

tprudentova commented 1 month ago

drive.stg.lin-saas.com, 1.0.5, tested on Safari, Firefox, Opera

  1. Create a folder named YYY
  2. Create a folder named XXX
  3. Create a subfolder YYY inside of XXX
  4. Move the folder YYY created on step 1 to folder XXX
  5. It's possible to do it

Expectation: there's a warning "You can't move YYY, because folder XXX already includes a subfolder with the same name" or something

https://github.com/user-attachments/assets/cf4921f2-4d48-4b95-af03-eb2d8e05992a