mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #897] Labels are lost when using requests from collections #313
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#313
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 @zahhar on GitHub (May 24, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/897
Describe the bug
When request from collection is used, its label is not populated into respective form field. This leads to multiply issues with saving edited requests back to collection (duplicated entries in collection can be created, original label value gets lost, etc.)
To Reproduce
Save request to collection and ensure it has a label (

getWebhookInfoin my example):Click on this request in collection to fill Request form as you usually do before starting working with saved request.
Note that Label field remains empty, however, it is expected to be populated with label given earlier to request saved to Collection. This is the first issue in the flow.

OK, nevertheless, let's proceed. Now fill the Label field once again with the same value
getWebhookInfoand click Save button to save request into collection.Note, that Label field in Save Request As popup is not populated, but contains default label placeholder

My Requestinstead ofgetWebhookInfovalue given earlier in the Request form. This is the second issue in the flow.Expected behavior
Label given once to request should be preserved throughout the whole lifecycle of the request.
Desktop (please complete the following information):