Skip to content

Renaming without changing the name shows "Failed to rename" #4226

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Confirming the Rename dialog right away, without changing the name, sends a MOVE onto the same path, which fails with 412. useFileActionsRename.ts only validates the name on input, so the prefilled name is never checked, and renameResource doesn't skip an unchanged name.

Reproduction Steps

  1. Open the Rename dialog of any file or folder (row ⋮ or breadcrumb ⋮)
  2. Click Rename right away

Expected Outcome

The dialog just closes without a request (or Rename is disabled for the unchanged name).

Actual Outcome

Rename is enabled, the MOVE returns 412 and the toast Failed to rename "data.csv" to »data.csv« appears.

Activity

  1. self-assigned this
    on Nov 3, 2026
  2. moved this from In Progress to Needs Review in OpenCloud Team Boardon Nov 3, 2026
  3. moved this from Needs Review to Done in OpenCloud Team Boardon Nov 5, 2026
  4. jnweiger commented on Nov 11, 2026

    @jnweiger
    Sponsor

    Still seen in yesterday's rolling/daily docker image.

  5. kulmann commented on Nov 11, 2026

    @kulmann
    Member

    Still seen in yesterday's rolling/daily docker image.

    because that's not automatically in the image. needs a web release first - as always.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions