bruno icon indicating copy to clipboard operation
bruno copied to clipboard

[BUG]: Unable to rename uppercase file to lowercase file

Open dannydel opened this issue 1 year ago • 2 comments

Hello!

While using Bruno I attempted to rename my one file "Detect" into "detect". But I was met with the following error: image

Steps to Recreate:

  1. Create a new file and name it with a capital letter. EX: "Get"
  2. Right click on that file in the left pane and click "Rename"
  3. Rename it to "get".
  4. Note error that appears

Application Type: Mac Silicon

dannydel avatar Mar 27 '24 18:03 dannydel

I think this is a known issue with file-systems that are non-case-sensitive (e.g. Detect.bru and detect.bru would point to the same file). See https://github.com/usebruno/bruno/pull/531 for the long discussion on this topic.

I implemented a fix on my fork: https://github.com/Its-treason/bruno/releases/tag/nightly

Its-treason avatar Mar 27 '24 19:03 Its-treason

Awesome, thank you. Yeah, I saw it was a bug before. But that issue was closed, so I figured it was a regression.

dannydel avatar Mar 28 '24 12:03 dannydel