mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5781] [MERGED] fix(common): prevent duplication of request ID when duplicating requests #5346
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#5346
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5781
Author: @anwarulislam
Created: 1/19/2026
Status: ✅ Merged
Merged: 1/19/2026
Merged by: @jamesgeorge007
Base:
next← Head:fix/duplicate-request-issue📝 Commits (1)
f43a2cafix(common): prevent duplication of request ID when duplicating requests📊 Changes
2 files changed (+4 additions, -2 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/collections/graphql/index.vue(+2 -1)📝
packages/hoppscotch-common/src/components/collections/index.vue(+2 -1)📄 Description
Closes FE-1115
Summary
idfield when duplicating, allowing the backend to generate a new unique IDChanges
idfield from request when duplicating (both REST and GraphQL)Testing
Related Issues
Summary by cubic
Fixes a bug where duplicating a collection request reused the same backend request ID. We now drop the id on duplicate so the backend assigns a new ID and the copy can be edited, renamed, and deleted.
Written for commit
f43a2ca5a9. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.