strapi-plugin-content-versioning
strapi-plugin-content-versioning copied to clipboard
Records in other `i18n` locales get hidden while creating new version
Bug report
Describe the bug
While creating a new record for one locale, content-versioning
will hide all the records no matter what locale they are.
It's quite a wired one as I found the plugin has checked if the i18n
has been enabled. It shouldn't have any conflicts with the strapi i18n. But it didn't work on my local strapi anyway.
Steps to reproduce the behavior
- Create a new post with the title 'Testing' in
en
locale - Switch to another locale, for example Welsh
cy
- Enter 'Testing Welsh' in the title field and save
- Switch back to
En
and update the title and save - the one in Welsh will disappear on the list
Expected behavior
Currently content-versioning
will update all other records, including other locales, with the same vuid
with setting is_visible_in_list_view
to false. It should only hide the one with same vuid
and locale
.
System
- Node.js version: v20.9.0
- NPM version: 10.4.0
- Strapi version: 4.20.3
- Database: mysql
- Operating system: macOS