strapi-plugin-content-versioning icon indicating copy to clipboard operation
strapi-plugin-content-versioning copied to clipboard

Update showed version button breaks JSON fields

Open gorgeousvlad opened this issue 1 year ago • 0 comments

Bug report

Describe the bug

Clicking Update showed version button causes incorrect data serialization for JSON fields

Before clicking:

Screenshot 2024-02-14 at 11 55 20

After:

Screenshot 2024-02-14 at 11 55 36

Steps to reproduce the behavior

  1. Go to Content Manager -> <Your collection with JSON field>
  2. Click on collection instance
  3. Add data to JSON field
  4. Save it
  5. Press Update showed version button
  6. Update page
  7. See error

Expected behavior

Update showed version button clicking doesn't change JSON fields data appearance

gorgeousvlad avatar Feb 14 '24 11:02 gorgeousvlad