Projekt

Allgemein

Aktionen

GX-Bug #65968

geschlossen

If a new language is created by copying the default language, the default state is also copied and this causes problems

Von Ulrich Wenk vor mehr als 5 Jahren hinzugefügt. Vor mehr als 4 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Niedrig
Zugewiesen an:
Jonatas Fischer
Kategorie:
Sprachsystem
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
3.11.3.0, 3.15.4.1
Release Notes Langtext:

Fehler bei Sprachen mit gleichen Sprachcodes behoben.


Beschreibung

  1. go to Shop Settings > Zone / Tax > Languages
  2. create a new language, choose the checkbox 'copy language', fill out all necceassary forms, hit create

result:

  • the newly created language is also a default language
  • the already exiting languages (english and german (default)) can't be edited anymore
  • there is no way to make the falsely default labeled new language to non-default or to delete them, at least in the backend
  • if the admin logs out and in again, the backend menu is missing and further text-cache issues emerge, the frontend is also affected, see screenshots
  • if Toolbox > Cache is called by the URL and all caches are cleared, the menu reappears
  • this seem sto be an old issue, it can also be found in e.g. 3.11.3.0

Dateien


Checkliste 0/0

Aktionen #8

Von Ronald Loyko vor mehr als 5 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu Anerkannt geändert
  • Zugewiesen an Ronald Loyko wurde gelöscht

It turns out, that this behavior is caused by creating a duplicate language that shares the same language code with an already existing language (e.g. "de").
Creating a new language with duplicate language code and an invalid directory path or invalid language files also explains the mentioned caching issues.

Since this case is really rare, we consider this ticket as low priority for now.

Aktionen