insomnium icon indicating copy to clipboard operation
insomnium copied to clipboard

Importing an insomnia project doesn't import Base Environment's variables

Open NPunzo opened this issue 2 years ago • 5 comments

Expected Behavior

Importing an insomnia project should import everything (requests, variables...)

Actual Behavior

Everything has been imported, including variables environments from folders and sub environments, but nothing in the Base Environment.

Reproduction Steps

  1. Create a project in Insomnia with a variable in the Base Environment
  2. Create a sub environment with other variables
  3. Export this project
  4. Open it in Insomnium
  5. See that the variable in the sub environment is there, but not the Base Environment's one

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

Windows

Operating System Version

Windows 10 Entreprise 22H2

Installation method

Tried on portable build

Last Known Working Insomnium version

No response

NPunzo avatar Oct 10 '23 07:10 NPunzo

oh good find; I will fix this in the next release;

by the way are you coming from Insomnia 8.0 or above? Or Insomnia 2023.5.8 or before?

archywillhe avatar Oct 10 '23 14:10 archywillhe

I sure hope you are supporting those coming from both 8.x and 2023.5.x

bbbco avatar Oct 10 '23 19:10 bbbco

oh good find; I will fix this in the next release;

by the way are you coming from Insomnia 8.0 or above? Or Insomnia 2023.5.8 or before?

I come from Insomnia 2023.5.8 😄

NPunzo avatar Oct 11 '23 07:10 NPunzo

as I'm trying to replicate this on Mac, I'm running a huge usability problems with the sub-env UI and variables  https://github.com/ArchGPT/insomnium/issues/60

Checking the Insomnia repo shows many related issues with env/variables too; I think the best approach for resolving all these is likely to rewrite the entire enviroment module

I'll be adding this to backlog for v0.3

archywillhe avatar Oct 16 '23 14:10 archywillhe

On linux, I've renamed (after making a backup) ~/.config/Insomnia to ~/.config/Insomnium which worked.

evs-xsarus avatar Jan 10 '24 12:01 evs-xsarus