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 - Collection - Folder - Auth cannot be pulled from repo #7724

Closed
1 task done
hmundle opened this issue Jul 16, 2024 · 3 comments · Fixed by #7746
Closed
1 task done

Git Clone - Collection - Folder - Auth cannot be pulled from repo #7724

hmundle opened this issue Jul 16, 2024 · 3 comments · Fixed by #7746
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@hmundle
Copy link

hmundle commented Jul 16, 2024

Expected Behavior

Inside of a company collaboration project, we created a "git clone" and inside of that a collection with a folder structure and inside of that some request. Everything works so far for the first user. If another user retrieves the same git repository in a git clone on his computer, it is expected, that everything look identical. Even the Auth tab of a folder.

Actual Behavior

For another users the retrieved git repository shows up with broken "Auth" tab inside of the folders. Inside of the Auth tab the messages shows up: Render Failure: Cannot convert undefined or null to object
image

If the Auth tab of the request is set to "Inherit from parent", which is the default, sending the request fails with an unhandled error: TypeError: Cannot convert undefined or null to object
image

Probably both is the same object with is set to null.

Reproduction Steps

  1. create new git clone
  2. create a folder in a collection
  3. create a request, Auth is supposed to inherit
  4. commit to git
  5. push to git
  6. delete git clone from insomnia
  7. create a git clone on same git repository potentially on another computer with another user
  8. select the folder in collection
  9. check the "Auth" tab, this will show an error message
  10. send the request, and an error dialog pops up

Is there an existing issue for this?

Additional Information

Version: Insomnia 9.3.2
Build date: 2024-07-04
OS: Windows_NT x64 10.0.19045
Electron: 30.0.9
Node: 20.11.1
Node ABI: 123
V8: 12.4.254.20-electron.0
Architecture: x64

Insomnia Version

9.3.2

What operating system are you using?

Windows

Operating System Version

Windows 10 Enterprise, 22H2, 19045.4651

Installation method

downloaded installer

Last Known Working Insomnia version

No response

@hmundle hmundle added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Jul 16, 2024
@subnetmarco
Copy link
Member

We are looking into this, thanks for the report.

@gatzjames
Copy link
Contributor

Hi @hmundle can you verify that the user that pulls the repo is using the latest version too?

@hmundle
Copy link
Author

hmundle commented Jul 18, 2024

Hi @hmundle can you verify that the user that pulls the repo is using the latest version too?

The user that pulls uses Insomnia 9.3.2 for sure, because that's me. We started using Insomnia recently with 9.3.0. Maybe some people pushing to git with version between 9.3.0 and 9.3.2 (inclusive).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants