mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #3208] [bug]: Self-Hosted Hoppscotch: Workspace import of Postman/Hoppscotch JSON leads to broken folder tree structure, except in team context #1057
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#1057
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 @kimseungwook on GitHub (Jul 24, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3208
Is there an existing issue for this?
Current behavior
I am experiencing an issue specifically when importing Postman or Hoppscotch JSON files from my Workspace. After the import, the folder tree structure is incorrect and does not reflect the original structure of the imported JSON.
The key issue is that the id of the top-level folder in the userCollection table is being replaced with the collectionID from the userRequest table. This replacement results in a broken folder tree structure.
However, this problem does not occur when I am working within a team organization context. If I organize a team and upload the same JSON file, the import correctly reflects the original structure.
The problem appears only when importing files directly from my Workspace outside of a team organization context. Is this a known issue, or could you offer any advice on how to resolve this?
Thank you for your attention to this matter.
Steps to reproduce
my Workspace
import postman
Environment
Production
Version
Self-hosted
@nivedin commented on GitHub (Sep 7, 2023):
@kimseungwook can you recheck if this issue is solved in the latest release I couldn't reproduce this at my end
@ivan-zinchenko commented on GitHub (Sep 14, 2023):
fyi, issue is still there with the latest AOI-image
@joeljstephen commented on GitHub (Apr 10, 2024):
@kimseungwook Are you still facing the same issue in the latest build?
@opctim commented on GitHub (Jul 4, 2024):
This issue still persists. See https://github.com/hoppscotch/hoppscotch/issues/4171