[GH-ISSUE #2143] Error while creating folder with small length (A, v1, etc) inside a team collection #726

Closed
opened 2026-03-16 16:53:09 +03:00 by kerem · 1 comment
Owner

Originally created by @namantam1 on GitHub (Mar 1, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2143

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

A proper message should be shown while creating a folder with small names. But its showing something went wrong

github.com/hoppscotch/hoppscotch@6e7fab8d4f/packages/hoppscotch-app/components/collections/index.vue (L522-L524)

Console logs (After formating code)

932c6d0.modern.js:formatted:106606 

Uncaught (in promise) ReferenceError: e is not defined
    at 932c6d0.modern.js:formatted:106606:35

SS
image

Steps to reproduce

  1. Create a team.
  2. Create a collection inside it.
  3. Now create a folder with a small name like A in it if no error occurs try creating one more nested folder inside it.

Environment

Release

Version

Cloud

Originally created by @namantam1 on GitHub (Mar 1, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2143 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior A proper message should be shown while creating a folder with small names. But its showing `something went wrong` https://github.com/hoppscotch/hoppscotch/blob/6e7fab8d4fac298478b2a9e72bd419ff68228886/packages/hoppscotch-app/components/collections/index.vue#L522-L524 ## Console logs (After formating code) ```js 932c6d0.modern.js:formatted:106606 Uncaught (in promise) ReferenceError: e is not defined at 932c6d0.modern.js:formatted:106606:35 ``` **SS** ![image](https://user-images.githubusercontent.com/59503233/156215607-10edcda7-18ea-4fb3-b2a3-48a6328a0864.png) ### Steps to reproduce 1. Create a team. 2. Create a collection inside it. 3. Now create a folder with a small name like `A` in it if no error occurs try creating one more nested folder inside it. ### Environment Release ### Version Cloud
kerem 2026-03-16 16:53:09 +03:00
Author
Owner

@namantam1 commented on GitHub (Mar 1, 2022):

Thanks for fixing, It was quick.

<!-- gh-comment-id:1055753906 --> @namantam1 commented on GitHub (Mar 1, 2022): Thanks for fixing, It was quick.
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#726
No description provided.