payloadcms / payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
https://payloadcms.com
MIT License
25.71k stars 1.64k forks source link

Restore this version does not work for docs in draft #2726

Closed jankocian closed 1 year ago

jankocian commented 1 year ago

Link to reproduction

-

To Reproduce

  1. Create a new doc
  2. Save as a draft, do not publish
  3. Make some changes, save another draft
  4. Try to revert back to the first version
  5. See how the content remains unchanged

Describe the Bug

When a document is in Draft mode, rollback to the previous versions does not work - a new revision is created but content remains the same.

Payload Version

1.8.3

denolfe commented 1 year ago

I'm not able to recreate this issue. The version rolls back correctly for me.

Open to any extra info that you have that would allow recreation. Closing for now.

jankocian commented 1 year ago

Hey @denolfe, the issue is still not resolved, here's a screencast of the issue on the latest Payload 1.13.2: https://youtu.be/U4inAj9-C4c

Would you have a look at it? Thanks a lot!

JarrodMFlesch commented 1 year ago

I am going to close this out since we are unable to reproduce this. If you are still experiencing this issue on the latest version of payload please open a new issue with reproduction steps along with a repo that can easily reproduce the issue.

I have included a video of me trying to reproduce this following your steps, but it seemed to work fine for me.

https://github.com/payloadcms/payload/assets/30633324/c50a2a4f-f1a5-4a71-84b9-1643d7b45a69

github-actions[bot] commented 2 months ago

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.