bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Fix #1300 : Handling request name conflicts while importing postman V2 collections

Open aniltallam opened this issue 2 years ago • 33 comments

Description

Issue:

Fix for #1300 In Postman, multiple requests in same folder can have same name. Current importer code is creating bruneRequestItems with same name and bruno doesn't allow multiple requests with same name in a given folder. Which is causing only one of the original requests to be actually created and other requests with the same name are missing in imported collection in bruno.

Fix:

Appending "_<duplicate_count>" to conflicting request names within same folder.

Contribution Checklist:

  • [x] The pull request only addresses one issue or adds one feature.
  • [x] The pull request does not introduce any breaking changes
  • [x] I have read the contribution guidelines.
  • [x] Create an issue and link to the pull request.

aniltallam avatar Dec 29 '23 07:12 aniltallam