mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #850] Import of Postman collection with Nested folders is failing #297
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#297
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 @nabsha on GitHub (May 7, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/850
Originally assigned to: @JacobAnavisca on GitHub.
Describe the bug
If there are more than 1 level of sub folders in postman collection, then import fails without errors.
parent-folder-3.postman_collection.txt
To Reproduce
Steps to reproduce the behavior:
Expected behavior
File to be imported successfully
Screenshots
Desktop (please complete the following information):
@liyasthomas commented on GitHub (Jun 30, 2020):
@JacobAnavisca
@mahoriR commented on GitHub (Jul 1, 2020):
@liyasthomas Looks like @JacobAnavisca is already working on this. I would be happy to contribute. I can work on weekends.
@AndrewBastin commented on GitHub (Aug 7, 2020):
@JacobAnavisca are you still working on this ?
@mahoriR if you are interested, you could take this up!
@mahoriR commented on GitHub (Aug 13, 2020):
@AndrewBastin Sure. Thanks.
@liyasthomas commented on GitHub (Aug 26, 2020):
Hi @mahoriR is there any updates in this issue? Let me know if you need any help from our side.
@mahoriR commented on GitHub (Aug 28, 2020):
I'll be working on this 13th Sept onwards. Unfortunately blocked with office work till them.
@exussum12 commented on GitHub (Sep 4, 2020):
Hoppscotch doesnt seem to support sub folders like this. Ive got the import working, but the front end stops working.
So its not really a postman import issue, its more a limit of Hoppscotch.
@liyasthomas commented on GitHub (Sep 4, 2020):
Yes, as of now we don't support nested subfolders. Any idea how we can toggle this issue or will think about adding nested folders.
@exussum12 commented on GitHub (Sep 4, 2020):
I can't see another ticket for nested sub folders, This ticket would need to be put on hold until that happens. The import completely stops the front end working currently and you need to clear the local storage to continue.
Obviously thats not a great solution, so I think implement nested folders, and then look at this issue again. Whats your thoughts on that ?
@liyasthomas commented on GitHub (Sep 4, 2020):
Yes, you're right. Nested subfolders should be a feature.
@exussum12 commented on GitHub (Sep 5, 2020):
For now, ive started a tool to convert thefolder structure.
The example here looks like this when imported
Basically everything is now in the top level prefixed with its path eg
sub1/sub2/sub3/sub4/request
will now be
sub1 sub2 sub3 sub4/request (so there is only 1 level deep)
Is that useful to anyone else until the multi folders are sorted ?
@liyasthomas commented on GitHub (Sep 5, 2020):
I guess that would somewhat fix current issues. Thanks @exussum12. Feel free to open a PR.
@liyasthomas commented on GitHub (Sep 8, 2020):
Fixed in #1150