[GH-ISSUE #897] Labels are lost when using requests from collections #313

Closed
opened 2026-03-16 14:39:53 +03:00 by kerem · 0 comments
Owner

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

  1. Save request to collection and ensure it has a label (getWebhookInfo in my example):
    Screenshot 2020-05-24 at 14 47 45

  2. Click on this request in collection to fill Request form as you usually do before starting working with saved request.

  3. 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.
    Screenshot 2020-05-24 at 14 50 48

  4. OK, nevertheless, let's proceed. Now fill the Label field once again with the same value getWebhookInfo and click Save button to save request into collection.

  5. Note, that Label field in Save Request As popup is not populated, but contains default label placeholder My Request instead of getWebhookInfo value given earlier in the Request form. This is the second issue in the flow.
    Screenshot 2020-05-24 at 14 55 45

Expected behavior
Label given once to request should be preserved throughout the whole lifecycle of the request.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Safari 13.1
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** 1. Save request to collection and ensure it has a label (`getWebhookInfo` in my example): <img width="703" alt="Screenshot 2020-05-24 at 14 47 45" src="https://user-images.githubusercontent.com/48603/82754517-ae848b80-9dcd-11ea-9802-aa9ee77a71ee.png"> 2. Click on this request in collection to fill **Request form** as you usually do before starting working with saved request. 3. 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**. <img width="819" alt="Screenshot 2020-05-24 at 14 50 48" src="https://user-images.githubusercontent.com/48603/82754596-1f2ba800-9dce-11ea-8e06-6718efe1b8fc.png"> 4. OK, nevertheless, let's proceed. Now fill the **Label** field once again with the same value `getWebhookInfo` and click **Save** button to save request into collection. 5. Note, that **Label** field in **Save Request As** popup is not populated, but contains default label placeholder `My Request` instead of `getWebhookInfo` value given earlier in the Request form. **This is the second issue in the flow**. <img width="903" alt="Screenshot 2020-05-24 at 14 55 45" src="https://user-images.githubusercontent.com/48603/82754687-eb04b700-9dce-11ea-9853-587c00789dd1.png"> **Expected behavior** Label given once to request should be preserved throughout the whole lifecycle of the request. **Desktop (please complete the following information):** - OS: MacOS - Browser: Safari 13.1
kerem closed this issue 2026-03-16 14:39:58 +03:00
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#313
No description provided.