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

Records in other `i18n` locales get hidden while creating new version

Open terryhycheng opened this issue 11 months ago • 0 comments

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

  1. Create a new post with the title 'Testing' in en locale
  2. Switch to another locale, for example Welsh cy
  3. Enter 'Testing Welsh' in the title field and save
  4. Switch back to En and update the title and save
  5. 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

terryhycheng avatar Mar 06 '24 16:03 terryhycheng