strapi icon indicating copy to clipboard operation
strapi copied to clipboard

Translations are not linked properly

Open vinda2401 opened this issue 1 year ago • 2 comments

After an upgrade of the admin panel, switching between translations for records stored in both English (EN) and Dutch (NL) throws an error. The linking between the translations appears to be improperly set. Steps to reproduce the behavior

  1. Open the admin panel.
    
  2. Locate and open a record that has translations in both EN and NL.
    
  3. Attempt to switch between the EN and NL translations.
    
  4. Observe the error that occurs.
    

It should have switched between the recods without throwing an error

Screenshots

image

System

  • Node.js version: 18+
  • NPM version: 18.6
  • Strapi version: 5.0.0-rc.8
  • Plugin version:
  • Database: mysql
  • Operating system: Ubuntu 22.04.4 LTS

Additional context

Add any other context about the problem here.

vinda2401 avatar Aug 05 '24 12:08 vinda2401

I've also gotten this error. In list view, I can create content in various languages, but this issue appears specifically when switching locales in a content type.

StrapiBartosh avatar Aug 07 '24 15:08 StrapiBartosh

Looking forward to updates on this issue so we can migratie, as one of the first, to v5.

MarcelAtSmartshore avatar Aug 21 '24 11:08 MarcelAtSmartshore

I could not reproduce it, @MarionLemaire could you try to replicate it as well?

If we are not able to reproduce, we can close it.

yanniskadiri avatar Nov 15 '24 14:11 yanniskadiri

@yanniskadiri i've just tried to reproduce this issue on 5.4.0 using a dataset of a localized Collection type with 2 languages (ENG and NL), including text, media and relation fields. I've left some of the relations in Draft status (as in the example) and switched from both locales in Edit view and List view : everything worked fine. I guess we can close this one :)

MarionLemaire avatar Nov 15 '24 15:11 MarionLemaire

Okay thanks I'm closing it then!

yanniskadiri avatar Nov 15 '24 16:11 yanniskadiri