notum-cz/strapi-plugin-content-versioning

When selecting a new version - some of the views are not updating

Closed this issue · 1 comments

rootux commented

Bug report

When selecting a different version - the url changes and some of the field changes but not Content which is based on the field of type Strapi code editor plugin

Describe the bug

Please see video
https://github.com/notum-cz/strapi-plugin-content-versioning/assets/1032526/d50fa9f6-6d46-4c48-b908-59015e093017

It appears some of the view doesn't update

Steps to reproduce the behavior

  1. Install Strapi code editor plugin
  2. Install latest version of 4.11.5 and latest strapi-plugin-content-versioning
  3. Create a new editor type and set it to be versionning / draft
  4. Make a change in the content. Save it and try to return to a previous version
  5. You don't see the changes unless you refresh manually

Expected behavior

I would expect all of the views to refresh including that content (Code editor) view (Without manually needing to refresh)

System

  • Node.js version: 16.20
  • NPM version: v8.19.4
  • Strapi version: 4.11.5 (Along the patch that was done 4 days ago for v4.11.5 on the save button)
  • Database: sqlite
  • Operating system: Mac M2

Additional context

rootux commented