insomnia
insomnia copied to clipboard
New base environment created on each import
Expected Behavior
Base environment id is stable, no new base environment is created when one already exists on import.
Actual Behavior
Base environment id is always re-generated when importing, resulting in loss of sub-environments.
Reproduction Steps
- Install plugin Repo Sync Plugin v3
- Configure plugin
- Create a new collection
- Create a request, an environment
- Export workspace
- Import workspace
- Re-Export workspace
Is there an existing issue for this?
- [X] I have searched the issue tracker for this problem.
Additional Information
When importing a collection, a new base environment is created on each import.
This break the plugin Repo Sync Plugin v3 which use the import/export api to synchronize collection.
This is likely introduced by #4378
Insomnia Version
2022.7.0
What operating system are you using?
Ubuntu
Operating System Version
20.04.1
Installation method
apt
Last Known Working Insomnia version
2022.6.0
Probably connected to this issue #5942