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

Elements become unused when language is changed manually #499

Open
lfu-avenit opened this issue May 21, 2024 · 0 comments
Open

Elements become unused when language is changed manually #499

lfu-avenit opened this issue May 21, 2024 · 0 comments

Comments

@lfu-avenit
Copy link

Steps to reproduce:

  • Create a page with default language english.
  • Add a container (e.g. "Two column content") with a "Regular Text Element" inside it.
  • Translate the page to german.
  • Use the translation wizard to translate container and text element to german.
  • Edit the translated (german) text element.
  • In the tab "Language" change the language to English and save.

Actual result

The text element disappears and is now listed on the english page as "Unused element".
In the database, it still has the tx_container_parent reference to the german container element.

Expected result

When changing the language of an element inside a container, the container reference should be changed too or set to zero.
The element should not become an "Unused element".

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

1 participant