Importing a collection now creates duplicate requests
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### 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
1. Create a new collection
2. Create a new request
3. Export the collection to a file
4. 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](https://www.github.com/Kong/insomnia/issues) 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
Contributor guide
Research direction
Reproduce the import flow by exporting a collection and importing it back into the same collection, then compare the result with Insomnia 2023.1.0. Trace the collection import entry point and determine where existing requests are matched; done means re-importing does not create duplicate requests and existing requests are preserved or updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100