-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Expected Behavior
As I switch between two requests with identical URLs but different parameters, I expect the assigned nunchucks template to change along with the value it resolves to and, consequently, the URL preview.
Actual Behavior
When switching from one request to the next, the rendered Nunchuck element's text does not change from that of the first request. However, the value previously resolved there (and thus the URL preview) are still correct. If I click on the Nunchucks element, the value is updated using the incorrect Nunchuck text, now giving us the value for the first request. When I update the Nunchuck value and switch back to the first request, the same thing happens -- the new Nunchuck text remains but the old envar is still loaded, until I attempt to modify the Nunchuck value.
Reproduction Steps
Insomnia.Bug.mov
- Given Request α has a URL param
:idthat uses Nunchucks Syntax α and has resolved to Envar α - Given Request β has a URL param
:idthat uses Nunchucks Syntax β and has resolved to Envar β
- Start on Req α
- Switch to Req β
- Note that the nunchucks element continues to display the text for Nun α
- Note that the URL preview suggests the URL Parameter value is still that of Envar β
- Click on the Nunchucks element, open editor
- Note that the value to fetch uses Nun α and has resolved to Envar α
- Close editor
- Note that the URL preview now displays Envar α
- Repeat steps 2 through 4, switching α and β in all cases
Is there an existing issue for this?
- I have searched the issue tracker for this problem.
Additional Information
Thanks for this feature! Really looking forward to using it, but this bug is making it tough for my specific use case.
Insomnia Version
8.6.0
What operating system are you using?
macOS
Operating System Version
macOS Sonoma 14.2.1
Installation method
Homebrew
Last Known Working Insomnia version
8.5.y -- the previous release, sorry I didn't track the exact number.