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

Override data after deleting a translation #847

Open
2 tasks done
FarhangQ opened this issue May 8, 2024 · 2 comments
Open
2 tasks done

Override data after deleting a translation #847

FarhangQ opened this issue May 8, 2024 · 2 comments

Comments

@FarhangQ
Copy link

FarhangQ commented May 8, 2024

Module version(s) affected

6.0

Description

test case:
create a job in DE
then copy it to EN and change text in english to english
then use translations button to publish
until here, everything works
then use unpublish all languages from translations button.
then check language Versions, both are in english.
Bildschirmfoto 2024-05-03 um 15 10 10

it saved the english version to the german one

How to reproduce

Possible Solution

No response

Additional Context

No response

Validations

  • Check that there isn't already an issue that reports the same bug
  • Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)
@tractorcow
Copy link
Collaborator

Could it be that "unpublish all languages" is deleting not only the live localisation, but also the stage at the same time by accident?

@FarhangQ
Copy link
Author

FarhangQ commented May 9, 2024

Could it be that "unpublish all languages" is deleting not only the live localisation, but also the stage at the same time by accident?

No, It just delete the language that we deleted then after trying to add new translation of it ( the non-deleted one ), the new translation will overwritten the main source.
For ex:

  1. English
  2. German
  3. Removing German
  4. Adding German
  5. Now it'll change English exactly like German content

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

2 participants