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

Issue Creating Locales For Single Types #19715

Closed
seivad opened this issue Mar 8, 2024 · 6 comments
Closed

Issue Creating Locales For Single Types #19715

seivad opened this issue Mar 8, 2024 · 6 comments
Assignees
Labels
issue: bug Issue reporting a bug severity: medium If it breaks the basic use of the product but can be worked around source: plugin:i18n Source is plugin/i18n package status: pending reproduction Waiting for free time to reproduce the issue, or more information version: 4 Issue related to v4

Comments

@seivad
Copy link

seivad commented Mar 8, 2024

Bug report

Required System information

  • Node.js version: 18.19.1
  • NPM version: 10.2.4
  • Strapi version: 4.20.4
  • Database: Postgres
  • Operating system: Mac OS
  • Is your project Javascript or Typescript: Javascript

Describe the bug

A clear and concise description of what the bug is.

Steps to reproduce the behavior

Create a single component with a repeatable zone area.

Put in items in English and save.

Select new Locale and fill in from the English version, hit save and the following error occurs:

Error: 1 relation(s) of type api::footer.footer associated with this entity do not exist

Also noticed that the database locale column just gets saved as "en" even though it might be Japanese, German etc...

Expected behavior

Create the single component when multiple dynamic parts, hit save when making it for a new locale and it works

Screenshots

Screenshot 2024-03-08 at 1 16 36 pm
@AndreiMrakov
Copy link

@seivad Also reproduced for me. What about issue with replaced localized version it's described in #19652

@angelmadames
Copy link

It's also happening to me on v4.20.4.
Seems to be a regression from #19225?

@seivad
Copy link
Author

seivad commented Mar 11, 2024

It seems to be an on-going issue now since 4.17.x+, I'm new to Strapi so it hasn't been the best first experience to come across this so early on using it as a CMS. I edited the DB columns manually, but that isn't ideal as new content types get added.

@ihassansattar
Copy link

When will this be fixed? It's blocking our new release.

@Eventyret Eventyret added issue: bug Issue reporting a bug severity: medium If it breaks the basic use of the product but can be worked around version: 4 Issue related to v4 status: pending reproduction Waiting for free time to reproduce the issue, or more information source: plugin:i18n Source is plugin/i18n package labels Mar 14, 2024
@alex-lechner
Copy link

alex-lechner commented Mar 15, 2024

I have the same issue. I tried to change the default locale as a workaround but that did not work.

EDIT: Downgrading from the latest version 4.20.4 to version 4.20.1 worked for me! @derrickmehaffy it seems an unintentional bug was introduced in a subsequent release.

@Marc-Roig
Copy link
Contributor

should be fixed in #19799

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug severity: medium If it breaks the basic use of the product but can be worked around source: plugin:i18n Source is plugin/i18n package status: pending reproduction Waiting for free time to reproduce the issue, or more information version: 4 Issue related to v4
Projects
Status: Fixed/Shipped
Status: Done
Development

No branches or pull requests

7 participants