[GH-ISSUE #5981] [bug]: Renaming a duplicated request reverts to the original name upon saving #2350

Open
opened 2026-03-17 00:02:33 +03:00 by kerem · 2 comments
Owner

Originally created by @synstin on GitHub (Mar 13, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5981

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Desktop App

Browser

Chrome

Operating System

macOS

Bug Description

Description:

When I duplicate a request and attempt to rename it, the new name appears to be applied in the UI. However, as soon as I click the "Save" button, the request name immediately reverts to its previous name (the duplicated name) and is saved with that incorrect name.

Steps to Reproduce:

  1. Go to a collection and duplicate an existing request.
  2. Change the name of the newly duplicated request.
  3. Press the Cmd + S (or Ctrl + S) shortcut to save.
  4. Notice that the name instantly reverts to the name it had before editing.

Deployment Type

Hoppscotch Cloud

Version

26.2.1 (26.2.1)

Originally created by @synstin on GitHub (Mar 13, 2026). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5981 ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Desktop App ### Browser Chrome ### Operating System macOS ### Bug Description ### **Description:** When I duplicate a request and attempt to rename it, the new name appears to be applied in the UI. However, as soon as I click the "Save" button, the request name immediately reverts to its previous name (the duplicated name) and is saved with that incorrect name. ### **Steps to Reproduce:** 1. Go to a collection and duplicate an existing request. 2. Change the name of the newly duplicated request. 3. Press the Cmd + S (or Ctrl + S) shortcut to save. 4. Notice that the name instantly reverts to the name it had before editing. ### Deployment Type Hoppscotch Cloud ### Version 26.2.1 (26.2.1)
Author
Owner

@AbyJms commented on GitHub (Mar 13, 2026):

Hi, I’d like to work on this issue.

<!-- gh-comment-id:4056065042 --> @AbyJms commented on GitHub (Mar 13, 2026): Hi, I’d like to work on this issue.
Author
Owner

@AbyJms commented on GitHub (Mar 13, 2026):

Hi, I tried reproducing this issue on the latest main branch locally but couldn’t reproduce it.

Steps I followed:

  1. Created a collection
  2. Created a request
  3. Duplicated the request
  4. Renamed the duplicated request
  5. Saved it

The renamed request persisted correctly and did not revert.

Tested on:
• Windows (local dev setup)
• Brave (Chromium-based)

This might be platform-specific (macOS) or already fixed in newer versions. Happy to re-test if needed.

<!-- gh-comment-id:4056784399 --> @AbyJms commented on GitHub (Mar 13, 2026): Hi, I tried reproducing this issue on the latest main branch locally but couldn’t reproduce it. Steps I followed: 1. Created a collection 2. Created a request 3. Duplicated the request 4. Renamed the duplicated request 5. Saved it The renamed request persisted correctly and did not revert. Tested on: • Windows (local dev setup) • Brave (Chromium-based) This might be platform-specific (macOS) or already fixed in newer versions. Happy to re-test if needed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2350
No description provided.