insomnia
insomnia copied to clipboard
Importing a collection now creates duplicate requests
Expected Behavior
When a collection is imported into an existing collection, any requests that already exist are updated/not modified, like 2023.1.0
Actual Behavior
Requests are duplicated
Reproduction Steps
- Create a new collection
- Create a new request
- Export the collection to a file
- Import the collection from the file into the same collection
You end up with a copy of the requests, previous versions of insomnia merged/updated the request rather than creating a duplicate
Is there an existing issue for this?
- [X] I have searched the issue tracker for this problem.
Additional Information
No response
Insomnia Version
2023.2.0
What operating system are you using?
macOS
Operating System Version
ventura 13.3.1
Installation method
download from site
Last Known Working Insomnia version
2023.1.0
Same problem here
Same problem here - verified it working in v2023.1.0 this morning, then updated to v2023.2.0 where it doesn't work.
It seems the underlying import/export was changed around end of March by https://github.com/Kong/insomnia/pull/5869
What operating system are you using? Windows
Operating System Version Windows 10 Enterprise 22H2
Same problem here - we experienced the same behavior and noticed that the request ids aren't kept according to the values saved after export. Because we use environment variables with references to specific requests, we lose these references.
Additionally, when importing a collection along with the environment, we notice that the environments aren't imported either.
Both behavior in version 2023.2.0 as you refer, we started to use version 2023.1.0 to not have this behavior.
Same issue here
Same issue
Same issue
I created a PR to fix this issue https://github.com/Kong/insomnia/pull/7081
@huuphat1908 you need just accept the CLA, so the PR can be merged.
This is critical to work.
Hi, I've signed the CLA since Feb 10