insomnia
insomnia copied to clipboard
fix #5942: Retain exported ID for resource
Closes https://github.com/Kong/insomnia/issues/5942
If an imported config has references to requests via the response plugin they are dereferenced as the imported config gets all new ids.
If this has downstream consequences, please let me know.
changelog(Fixes): Added a fix to retain the id from imported resources
It would be nice if this MR is prioritized! Export of request chains has been pretty broken for a while now.
When is this being released? seems like a simple fix to me
My team is experiencing the same problem. If you export a document, then import later, existing requests are assigned new request IDs. Every Tag, Request Chaining, basically everywhere you've made a reference to a request's ID is now broken.
Steps to reproduce:
- Create a new design document
- Add a Get request. Here's a public api - https://datausa.io/api/data?drilldowns=Nation&measures=Population
- Open settings for the Request and save the request id (req_00534c74137948da90521431b379b27b)
- Export the design document
- Delete the design document
- Import the design document
- Open and go to the request
- Open settings for the request and note that the request ID has changed (req_2d5680a437594dc6986d75f9dfda6988)
This occurs for Insomnia 8.4.0 on both PC and Mac
Bump - any updates on when this might be released?
Bump - any updates on when this might be released?
I just switched to postman again..
@gatzjames @filfreire
By debugging a little, you can see that each request has a unique and global id. Wouldn't it be better for each request to be unique in its document?
With these corrections, it is possible to import requests with their ID'S, however. If you already have these ID'S in your insomina it returns an error.
I'm trying to research more about requests and documents within the code.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Is there any update on this PR? When it is going to be available?
Is this going to be deployed?
Closing as this creates other issues and will be addressed in another PR