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

Problems with duplicate records in Translations table #4020

Closed
rolfschmidt opened this issue Mar 18, 2022 · 2 comments
Closed

Problems with duplicate records in Translations table #4020

rolfschmidt opened this issue Mar 18, 2022 · 2 comments

Comments

@rolfschmidt
Copy link
Collaborator

Infos:

  • Used Zammad version: 5.1
  • Installation method (source, package, ..): all
  • Operating system: all
  • Database + version: all
  • Elasticsearch version: all
  • Browser + version: all

Expected behavior:

  • Translation import should create or update instead of creating multiple translation per source.

Actual behavior:

Steps to reproduce the behavior:

  • Have a system which is exists longer than 4 years
  • zammad run rails r "pp Translation.where(locale: 'de-de', source: 'FORMAT_DATE')"

Yes I'm sure this is a bug and no feature request or a general question.

@mgruner
Copy link
Collaborator

mgruner commented Mar 23, 2022

@rolfschmidt as discussed, this does not seem to be an issue with the translation sync / import, but an issue of multiple records with the same locale and the same source.
We should clarify the reason and if more strings are affected, and then we can see how to move forward about it. Please get back to me with more information from the customer database if needed.

@mgruner mgruner assigned rolfschmidt and unassigned mgruner and rolfschmidt Mar 23, 2022
@rolfschmidt
Copy link
Collaborator Author

@mgruner Export of the translations table is now available (Ticket#10103444).

@rolfschmidt rolfschmidt assigned mgruner and unassigned rolfschmidt Mar 28, 2022
@mgruner mgruner changed the title Translation import creates multiple translation per source Problems with duplicate records in Translations table Mar 29, 2022
@mgruner mgruner added this to the 5.1.1 milestone Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants