notum-cz/strapi-plugin-content-versioning

Error when i switch the version

Closed this issue · 1 comments

Bug report

Describe the bug

when I switch from one version to another, an error appears "Woops! Something went wrong. Please, try again."

When I look at the url of the original content, the url looks like this:
"admin/content-manager/collectionType/api::article.article/1"

and when I change version it changes and looks like this:
"admin/content-manager/collection-types/api::article.article/8"

if I manually change it to :
"admin/content-manager/collectionType/api::article.article/8" it works.

System

  • Node.js version: v18.14.0
  • YARN version: 1.22.21
  • Strapi version: 4.15.5
  • Database: postgres
  • Operating system:

Additional context

"@ckeditor/strapi-plugin-ckeditor": "^0.0.12",
"@notum-cz/strapi-plugin-content-versioning": "^1.3.4",
"@offset-dev/strapi-calendar": "^0.1.1",
"@strapi/plugin-cloud": "4.15.5",
"@strapi/plugin-documentation": "^4.25.3",
"@strapi/plugin-i18n": "4.15.5",
"@strapi/plugin-seo": "^1.9.9",
"@strapi/plugin-users-permissions": "4.15.5",
"@strapi/strapi": "4.15.5",
"@webbio/strapi-plugin-scheduler": "^1.0.6",

Sorry I just updated the version from 4.15.X to 4.25.x and everything worked correctly <3