mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[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
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
Current behavior
While at a team workspace, opening the
Import/Exportcollections modal and choosingImport from Personal Collectionsimmediately following a page reload results in an exception. The modal open action should remain disabled when the transition happens fromPersonalto the currently active workspace.Steps to reproduce
Switch to a team workspace.
Perform a page reload and observe the workspace selector showing
Personal Workspaceat first following the current workspace name.Try immediately opening the
Import/Exportmodal from theCollectionspanel during the transition and chooseImport 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
@jamesgeorge007 commented on GitHub (Oct 4, 2024):
The
Import from Personal Collectionsaction was removed in favour ofImport from Another Workspacein #4377. Hence, this is no longer valid.