Projekt

Allgemein

Profil

GX-Task #68920

Von Moritz Bunjes vor mehr als 2 Jahren aktualisiert

Since the selection of only man and woman means an inequality, a third selection option must exist. This should be explicitly stored as "d". Accordingly, all code passages that work with the gender value must be adapted. 

 In the context of the salutation, there should always be a third selection option "None". In the context of gender, it is "Divers". When creating an account, the context of the salutation should be used. If English is selected, "Gender" is still incorrectly displayed here. A text change to "Salutation" is to be made here. At database level it is processed as "gender" and so there should now be "d" in addition to "f" and "m" (please mind that if no selection was made an empty string should be stored in the database). 

 Keep in mind, that also the installer has a form with the salutation. Other pages are for example registration, account page (Gambio Shop), customer page (Gambio Admin), edit order page (Gambio Admin). Check email templates, if they can handle a new gender and adjust them, if necessary. The REST-API has to support it too. 

  

 --- 

 Da die Auswahl von nur Mann und Frau eine Ungleichstellung bedeutet, muss eine dritte Auswahlmöglichkeit bestehen. Diese sollte explizit als "d" gespeichert werden. Entsprechend sind alle Codestellen, die mit dem gender Wert arbeiten, anzupassen. 

 Im Kontext der Anrede soll es immer eine dritte Auswahlmöglichkeit "Keine" geben. Im Kontext des Geschlechts ist es "Divers". Bei der Kontoerstellung soll der Kontext der Anrede genutzt werden. Bei ausgewählter englischer Sprache wird hier fälschlicherweise noch "Gender" angezeigt. Hier ist eine Textänderung auf "Salutation" vorzunehmen. Auf Datenbankebene wird es als "gender" verarbeitet und so soll es neben "f" und "m" nun auch "d" geben (es ist zu beachten, dass wenn keine Auswahl getroffen wurde, ein leerer String in der Datenbank gespeichert werden soll).

Zurück