Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git clone existing Insomnia collection from repository fails #6304

Closed
1 task done
joaofhenriques opened this issue Aug 16, 2023 · 1 comment · Fixed by #6333
Closed
1 task done

Git clone existing Insomnia collection from repository fails #6304

joaofhenriques opened this issue Aug 16, 2023 · 1 comment · Fixed by #6333
Assignees
Labels
A-git-sync Area: Git Sync B-bug Bug: general classification S-verified Status: Verified by maintainer

Comments

@joaofhenriques
Copy link

joaofhenriques commented Aug 16, 2023

Expected Behavior

Clone existing collection with "git clone" functionality

Actual Behavior

Insomania crashes with follwoing error

image

After clicking reload app, the collection is shown as a Document:

image

Entering the document, results in the same crash

Reproduction Steps

  1. Create a collection
  2. Create a request
  3. Git Sync collection (commit and push)
  4. Validate in git that .insomnia folder was created and collection is inside
  5. Delete collection
  6. Git Clone repository used before
  7. Insomnia crashes

Is there an existing issue for this?

Additional Information

Insomnia Version

2023.5.3

What operating system are you using?

Windows

Operating System Version

Windows 11 Pro 22H2 22621.2134

Installation method

insomnia.rest

Last Known Working Insomnia version

none

@joaofhenriques joaofhenriques added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Aug 16, 2023
@filfreire filfreire added the A-git-sync Area: Git Sync label Aug 17, 2023
@jackkav jackkav added S-verified Status: Verified by maintainer and removed S-unverified Status: Unverified by maintainer labels Aug 17, 2023
@filfreire
Copy link
Member

@joaofhenriques thanks for reporting this. We will try to fix this in an upcoming patch release, and provide an update here as soon as possible.

@filfreire filfreire self-assigned this Aug 18, 2023
filfreire added a commit that referenced this issue Aug 18, 2023
jackkav pushed a commit that referenced this issue Aug 18, 2023
* fix: #6304 git clone collections

* rm n/a test

* redirect to /debug on reclone

* simplify code
jackkav pushed a commit to jackkav/insomnia that referenced this issue Nov 24, 2023
* fix: Kong#6304 git clone collections

* rm n/a test

* redirect to /debug on reclone

* simplify code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-git-sync Area: Git Sync B-bug Bug: general classification S-verified Status: Verified by maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants