Skip to content

Elements become unused when language is changed manually #499

Open

Description

@lfu-avenit

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".

Activity

  1. added a commit that references this issue on Sep 11, 2024
    8377274
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions