Skip to content

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

Open
@terryhycheng

Description

@terryhycheng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions