[GH-ISSUE #5841] [bug]: TypeError: Cannot read properties of undefined (reading 'authType') on opening an searched collection #2292

Closed
opened 2026-03-16 23:52:10 +03:00 by kerem · 2 comments
Owner

Originally created by @Leon-Luu on GitHub (Feb 5, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5841

Originally assigned to: @Leon-Luu on GitHub.

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Web App

Browser

Chrome

Operating System

Windows

Bug Description

Description

When attempting to open a request from the search panel results, the application throws a TypeError and fails to open the request in a new tab.

Image

Steps to Reproduce

  1. Open the search panel
  2. Search for a folder or endpoint
  3. Attempt to open a request from the search results
  4. Error occurs and request does not open

Root Cause

In packages/hoppscotch-common/src/helpers/teams/TeamsSearch.service.ts, the findInheritableParentAuth method attempts to access the authType property on inheritedAuth without first verifying that inheritedAuth is defined.

Deployment Type

Self-hosted (on-prem deployment)

Version

2026.1.1

Originally created by @Leon-Luu on GitHub (Feb 5, 2026). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5841 Originally assigned to: @Leon-Luu on GitHub. ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Web App ### Browser Chrome ### Operating System Windows ### Bug Description ## Description When attempting to open a request from the search panel results, the application throws a TypeError and fails to open the request in a new tab. <img width="894" height="672" alt="Image" src="https://github.com/user-attachments/assets/acc75e78-0d3b-4e9a-940b-028a4bd486f5" /> ## Steps to Reproduce 1. Open the search panel 2. Search for a folder or endpoint 3. Attempt to open a request from the search results 4. Error occurs and request does not open ## Root Cause In `packages/hoppscotch-common/src/helpers/teams/TeamsSearch.service.ts`, the `findInheritableParentAuth` method attempts to access the `authType` property on `inheritedAuth` without first verifying that `inheritedAuth` is defined. ### Deployment Type Self-hosted (on-prem deployment) ### Version 2026.1.1
kerem 2026-03-16 23:52:10 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Leon-Luu commented on GitHub (Feb 5, 2026):

@jamesgeorge007 a new patch candidate.

<!-- gh-comment-id:3854578133 --> @Leon-Luu commented on GitHub (Feb 5, 2026): @jamesgeorge007 a new patch candidate.
Author
Owner

@jamesgeorge007 commented on GitHub (Feb 26, 2026):

Closing since this is addressed in the v2026.2.0 release.

<!-- gh-comment-id:3965994451 --> @jamesgeorge007 commented on GitHub (Feb 26, 2026): Closing since this is addressed in the [v2026.2.0](https://github.com/hoppscotch/hoppscotch/releases/tag/2026.2.0) release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2292
No description provided.