Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Records in other i18n locales get hidden while creating new version #190

Open
terryhycheng opened this issue Mar 6, 2024 · 0 comments
Open

Comments

@terryhycheng
Copy link

terryhycheng commented Mar 6, 2024

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 terryhycheng changed the title Records in other i18n locales get overwritten while creating new version Records in other i18n locales get hidden while creating new version Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant