[GH-ISSUE #4135] [bug]: Opening the Import/Export collections modal immediately while at the team workspace following a page reload results in an exception #1482

Closed
opened 2026-03-16 20:28:59 +03:00 by kerem · 1 comment
Owner

Originally created by @jamesgeorge007 on GitHub (Jun 20, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4135

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

While at a team workspace, opening the Import/Export collections modal and choosing Import from Personal Collections immediately following a page reload results in an exception. The modal open action should remain disabled when the transition happens from Personal to the currently active workspace.

Steps to reproduce

  1. Switch to a team workspace.

  2. Perform a page reload and observe the workspace selector showing Personal Workspace at first following the current workspace name.

  3. Try immediately opening the Import/Export modal from the Collections panel during the transition and choose Import from Personal Collections. An error gets logged to the console. The modal is closed with the backdrop persisting. There can also be a case where the modal can open with the Personal workspace context.

    https://github.com/hoppscotch/hoppscotch/assets/25279263/be961e2b-fe98-498b-b332-fc77d77fa147

Environment

Production

Version

Applicable to both Cloud & SH

Originally created by @jamesgeorge007 on GitHub (Jun 20, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4135 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior While at a team workspace, opening the `Import/Export` collections modal and choosing `Import from Personal Collections` immediately following a page reload results in an exception. The modal open action should remain disabled when the transition happens from `Personal` to the currently active workspace. ### Steps to reproduce 1. Switch to a team workspace. 2. Perform a page reload and observe the workspace selector showing `Personal Workspace` at first following the current workspace name. 3. Try immediately opening the `Import/Export` modal from the `Collections` panel during the transition and choose `Import from Personal Collections`. An error gets logged to the console. The modal is closed with the backdrop persisting. There can also be a case where the modal can open with the Personal workspace context. https://github.com/hoppscotch/hoppscotch/assets/25279263/be961e2b-fe98-498b-b332-fc77d77fa147 ### Environment Production ### Version Applicable to both Cloud & SH
kerem 2026-03-16 20:28:59 +03:00
  • closed this issue
  • added the
    bug
    testmu
    labels
Author
Owner

@jamesgeorge007 commented on GitHub (Oct 4, 2024):

The Import from Personal Collections action was removed in favour of Import from Another Workspace in #4377. Hence, this is no longer valid.

<!-- gh-comment-id:2393859926 --> @jamesgeorge007 commented on GitHub (Oct 4, 2024): The `Import from Personal Collections` action was removed in favour of `Import from Another Workspace` in #4377. Hence, this is no longer valid.
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#1482
No description provided.