Open elrac opened 9 months ago
thanks for reporting!
The entire enviroment module (i.e. inherited from forking Insomnia) appears to be quite buggy in general. I'll be rewriting the enviroment module for Insomium v0.3.
Adding this to the backlog for v0.3 now.
I have the same issue, if i click somewhere on the "page" after making the overrides in the environment configuration it saves them. If i don't do this and reopen the environment it doesn't save it.
The issue i am having is it doesn't seem to save it with the export - doesn't save which request it should be getting the response from meaning: when i import a collection it doesn't seem to "remember" the request it should be getting the response from.
Have a nice day.
Expected Behavior
I expect that when I make a change to the Environment Overrides that the changes are saved when the close button is clicked.
Actual Behavior
A few things are happening that seem related.
When I create an Environment Override that contains a tag it will not save when the Overrides window is closed. I set up a Header tag that references the Date response header in a call to google.com
and when I close the window and open it again it becomes
![image](https://github.com/ArchGPT/insomnium/assets/4564119/f501c21c-9912-45aa-a396-e5adb9cf1fb0)
When I create a new regular text Environment Override then close the window and re-open it, the override disappears.
But this will re-appear if it is used or if I change to another project and back
Reproduction Steps
Is there an existing issue for this?
Additional Information
This is an issue that has existed in one state or another in the last few versions of Insomnia.
Often can be worked around by copying the text in the Overrides panel when it is correct and pasting it back in when it errors. Also switching projects sometimes reverts to the correct variable.
The part where it doesn't save regular text variable is really inconsistent.
Insomnium Version
Insomnium 0.2.1-b
What operating system are you using?
Windows
Operating System Version
Windows 10
Installation method
Portable exe from https://github.com/ArchGPT/insomnium/releases
Last Known Working Insomnium version
No response