mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4976] [bug]: Automatic Request Reordering Issue #1889
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#1889
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?
Originally created by @rajkumar-cp on GitHub (Apr 9, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4976
Is there an existing issue for this?
Current behavior
Requests within a collection are reordered incorrectly after performing a series of actions including exporting, importing, moving, and refreshing the page.
Steps to reproduce
Expected Result:
The order of requests should remain as manually rearranged.
Actual Result:
Requests are automatically reordered incorrectly after refreshing the page.
Logs and Screenshots
Environment
Production
Hoppscotch Version
Self-hosted
Interceptor
Browser - Web App
Browsers Affected
Chrome
Operating System
Windows
Additional Information
No response
@g3Bg2 commented on GitHub (May 8, 2025):
@rajkumar-cp
Have you been able to check the exported json? Is it unstructured?
Cannot replicate it on my end.
@Gabrielgps25 commented on GitHub (May 29, 2025):
Here we are working in a team with 10 people collaborating into collection and we have some folders with regression tests. Every time that I open Hoppscotch at browser the requests are unordered. Seams that it's more frequently when two or more people are using Hoppscotch Workspace at the same time. We're not exporting collections, only creating, editing and saving collections under Workspace.
Exemple:
Using Browser, I opened 1 regression test folder and found this order:
Manually I've adjusted requests order:
After refreshing page w/o cache (Ctrl + Shift + R), found this order:
@yafimchik commented on GitHub (Jun 5, 2025):
I confirm the existence of this bug. Our team is just getting familiar with this tool and have already encountered this issue. The order of requests in a collection is critically important to us, but the order in which requests are displayed in the interface does not match the order when exporting or running the entire collection.
We noticed that after refreshing the page, the current test run order is displayed in the interface. We can see that this order is indeed incorrect, but when trying to change the order, unexpected behavior occurs — either a request moves to the wrong position, or a different request’s order changes instead. Refreshing the page does not fix this bug; it only provides a chance to see the actual request order in the interface.
Seems that it's a frontend bug.
UPD: looks like reordering of the collection fails more frequiently if you've already run this collection.
@gbespyatykh commented on GitHub (Jun 5, 2025):
I confirm this behavior. Correct requests order is critical requirement for some multistep scenarios, but it seems not working
This could be a fast workaround: https://github.com/hoppscotch/hoppscotch/pull/4785
Please pay attention to the problem