thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.62k stars 127 forks source link

Duplicate IDs in JSON after duplicating requests #1435

Closed azplanlos closed 8 months ago

azplanlos commented 9 months ago

Describe the bug When duplicating requests from our test collection we sometimes end up with two requests having the same id in the test collection's json structure even after moving them to another folder. These requests can't be edited as saving them updates the first identical entry of this request and when running the request it seems unpredictable which version of this request is run. These requests can be deleted though. Sometimes the request's title isn't shown but the URL of the request.

To Reproduce Duplicate a request in VSCode plugin.

Expected behavior Should create an independent duplicate of the request.

Platform:

Are you using the free version/paid version/trial: paid version

rangav commented 9 months ago

Thanks @azplanlos for reporting the bug. Will verify and fix it asap.

Are you duplicating request in Collection tab or Activity tab?

azplanlos commented 9 months ago

That is in collection tab.

rangav commented 9 months ago

I just now tested the duplicate request using the right click menu. It is working correctly generated new ID.

Can you please create a new collection and try to re-product it again?

azplanlos commented 9 months ago

This issue just happens from time to time on bigger collections with more than 100 requests.

rangav commented 9 months ago

ok will test with similar size collection and get back to you

rangav commented 8 months ago

This bug is fixed and published to the marketplace, please update to v2.17.0

See all features in this update https://github.com/rangav/thunder-client-support/releases/tag/v2.17.0

Please test and let me know your feedback.