postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.81k stars 839 forks source link

Many example sometimes disappear after "Save as example" is click #13025

Open NPhGit opened 1 month ago

NPhGit commented 1 month ago

Is there an existing issue for this?

Describe the Issue

After use "Save as example" button, some of example from the list sometimes disappear. It seem that changing app page for a period of time[1] or restarting app bring it back. It's not deleted but it's not displayed. [1] found out when try checking each menu to bring my examples back

When it's back the first times, it happened again sometimes after I save another example. This is when it's missing Capture

So I try duplicate it because I know it's just not display properly Capture2 As you can see the real list in "ReadList Copy". What's missing seem to irregular, index 3 then index 8-12.

I try to test it a bit by moving created item Capture3 "Tuya 59169959 owner=true" below "Tuya 16080149" then duplicate the request. It turn out to be incorrect order, seem like it remember that it's at item 4. So it's lay above "Tuya 16080149" in duplicated set instead because non-displayed "Tuya 159059917" is at position 3.

Steps To Reproduce

  1. Open old request/example
  2. May change some value and send the request
  3. Use "Save as example" button CaptureButton The result is not always reproducible

Screenshots or Videos

No response

Operating System

Windows

Postman Version

11.5.0

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

vedkribhu commented 1 month ago

Hi @NPhGit, thanks for reporting this issue. I am not able to replicate the issue on my end at the moment. Could you please share a screen recording the next time you encounter this issue? This would really help us get to the bottom of it. In the meantime, you might try duplicating the collection and working from the copy to see if the issue persists.

Document describing how you can duplicate a collection: https://blog.postman.com/3-popular-collaboration-features-postman-collections/