Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.87k stars 1.97k forks source link

many but not all requests suddenly vanished from collections #5822

Open qrkourier opened 1 year ago

qrkourier commented 1 year ago

Expected Behavior

Requests stay where I put them.

Actual Behavior

Many requests apparently vanished from my collections when I generated a new collection with some identical requests by importing a different spec. At first, both of the two similar collections had all requests, but then they started to disappear from Insomnia.

Reproduction Steps

  1. In Insomnia Flatpak on Ubuntu, create a "management API" collection by importing https://get.openziti.io/spec/management.yml.
  2. Verify "Authentication" request operations are present.
  3. Create a second "client API" collection by importing https://get.openziti.io/spec/client.yml.
  4. Verify identical "Authentication" request operations are present.
  5. Restart Insomnia.
  6. Now "Authentication" request folder operations are missing in "management API" collection, as if the identical requests in "client API" collection somehow clobbered them.

Is there an existing issue for this?

Additional Information

Version: Insomnia 2022.7.3 Build date: 1/16/2023 OS: Linux x64 6.1.11-76060111-generic Electron: 22.0.0 Node: 16.17.1 V8: 10.8.168.20-electron.0 Architecture: x64

Insomnia Version

2022.7.3

What operating system are you using?

Ubuntu

Operating System Version

Linux kpop4 6.1.11-76060111-generic #202302091138~1675975749~22.04~f771a7f SMP PREEMPT_DYNAMIC Thu F x86_64 x86_64 x86_64 GNU/Linux

Installation method

Flatpak

Last Known Working Insomnia version

No response

qrkourier commented 1 year ago

I returned to Insomnia again today in case the problem was fixed. I couldn't import either of the specs as collections of requests. The spec document appears after importing the URL, but there's no collection and no requests. The importer reported requests were detected, but they're nowhere in the UI.

image

Steps to Reproduce shown in attached recording:

  1. Delete Flatpak data folder ~/.var/app/rest.insomnia.Insomnia
  2. Launch Insomnia
  3. Import OpenAPI 2.0 spec from URL
  4. Confirm import summary shows a non-zero count of requests
  5. In spec tab, browse Swagger UI and paths breakdown
  6. In spec tab, note the "generate request collection" button is disabled.
  7. Where is the collection of requests that would be analogous to Postman?

Peek 2023-10-07 08-47

suchislife801 commented 1 year ago

Last Working Version! Sort Order Fix!

2023.4.0

ANY version ABOVE 2023.4.0 will absolutely WRECK your sort orders.