[PR #1593] [MERGED] fixes empty url bug during importing postman json #3416

Closed
opened 2026-03-17 01:02:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1593
Author: @jainal09
Created: 4/14/2021
Status: Merged
Merged: 4/14/2021
Merged by: @liyasthomas

Base: mainHead: main


📝 Commits (2)

  • 3eb5944 fixes empty url bug during importing postman json
  • 6a22a7f refactor: lint

📊 Changes

1 file changed (+13 additions, -9 deletions)

View changed files

📝 components/collections/ImportExport.vue (+13 -9)

📄 Description

When importing a Postman Collection if the url is empty this throws a Cannot read property 'raw' of null and Cannot read property 'query error this pr fixes that.

You can recreate the error and test this pr with this postman file
test.postman_collection.zip


Fixed #1587


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/1593 **Author:** [@jainal09](https://github.com/jainal09) **Created:** 4/14/2021 **Status:** ✅ Merged **Merged:** 4/14/2021 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`3eb5944`](https://github.com/hoppscotch/hoppscotch/commit/3eb5944e0b1d919e2f930b44b674b56ee186363b) fixes empty url bug during importing postman json - [`6a22a7f`](https://github.com/hoppscotch/hoppscotch/commit/6a22a7fb6ffa9bfb8ca212652ea8a43f7c4a6873) refactor: lint ### 📊 Changes **1 file changed** (+13 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `components/collections/ImportExport.vue` (+13 -9) </details> ### 📄 Description When importing a Postman Collection if the url is empty this throws a `Cannot read property 'raw' of null` and `Cannot read property 'query` error this pr fixes that. You can recreate the error and test this pr with this postman file [test.postman_collection.zip](https://github.com/hoppscotch/hoppscotch/files/6308109/test.postman_collection.zip) --- Fixed #1587 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:02:04 +03:00
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#3416
No description provided.