thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.95k stars 202 forks source link

Cannot rename new directory #697

Closed wmorgue closed 1 year ago

wmorgue commented 1 year ago

STR:

  1. Create a New Folder
  2. Try to rename it
  3. Get the errror: «New Folder couldn’t be move to … because an item with same name already exists.»

Look at the screen recording:

https://user-images.githubusercontent.com/24982084/207949681-bd7c154e-b648-4da6-853c-d5eb40c14bf8.mov

Environment: iPad Pro 11” M1 iPadOS 16.2 Magic Keyboard 2 or screen keyboard (it’s doesn’t matter) Code app. Version 1.4.1 Build 157 from TestFlight

bummoblizard commented 1 year ago

Thank you for reporting this. I can confirm this issue. You might use mv in the terminal until I fix the bug.

bummoblizard commented 1 year ago

Related commit: https://github.com/thebaselab/codeapp/commit/4b4bfc792c41b9e99b00e0e60dd6a39e07416888

bummoblizard commented 1 year ago

MoveItem implementation: https://github.com/thebaselab/codeapp/blob/main/CodeApp/Managers/FileSystem/Local/LocalFileSystemProvider.swift