Review main Merged

69188[TASK] Avoid usages of sys_language in site configuration

Oli Bartsch CR +2 V +2 Expert +1680 −249 updated 06/29/21, 12:33

Commit message

This patch removes the last remains of sys_language in the
site configurations' TCA.

Therefore, the TCA of `site` and `site_langauge` is changed
to always retrieve possible site languages via an itemsProcFunc,
instead of using a relation to sys_language.

As new site languages now have to be created in the module
directly, a new internal TCA type "siteLanguage" is introduced.
The new type behaves similar to type "inline", but contains some
necessary features, e.g. unique record selector box next to a
"create new" button, which are not available in type "inline".
Also some not needed functionality is omitted.

Instead of the sys_language records, all available site languages
from all existing site configurations are now presented in the
selector box. On selecting one of them, a new site language record
is created, with most of the fields pre filled.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 18