Content
View differences
Updated by Max Mutzge over 5 years ago
### **Environment**:
Your OpenProject Version: 11.1 (Docker)
Operating System / Browser / OpenProject language: Docker / Debian / Firefox / English
### **Logs**
Are there errors in the browser console? n/a
### **Steps to reproduce:**
Step 1
\* Login to OpenProject using an administrator account
\* Click the "Avatar" then click "Administration"
\* Click on "System Settings" then "Display"
\* Review the Languages that are enabled (ticked) in the list, noting one that is not ticked (e.g. Nederlands)
\* Click the "Left Arrow" then click the "Overview" link
Step 2
\* Click on "Users and Permissions" then "Settings"
\* Click the "Default Language" field to show the list of Languages
\* Note that this is a list of all languages; it should be the languages enabled in step 1
\* Select the language chosen in Step 1
\* Click "Save"
Step 3
\* Click on "Users" then the "+User" button
\* Enter values in the form, noting that this does not include a language field
\* Click the "Create" button
Step 4
\* Click on "Users" to show the list of users
\* Click on the new username to edit that users data
\* Note that the Language shows an enabled language, not the Default Language selected in step 2 (e.g. Deutsch)
### **Actual Behavior**
The Default Language field allows languages that are not enabled. Creating a new user with an "invalid" language then sets the user language to an enabled language (it seems to be the first enabled language)
### **Expected Behavior**
The Default Language list should match the enabled languages, so that a new user gets the correct default language
### Notes
* The Language list in the Consent section is correct
* The New User language is the Default Language if this is an enabled language
### Additional information:
\* Enabling the language that was used, then viewing the user details shows the language that was set for the user.
\* Disabling a language that was set for the user does not give a warning but changes the language shown in the user details.
It seems that the language is stored correctly but is not displayed correctly
Your OpenProject Version: 11.1 (Docker)
Operating System / Browser / OpenProject language: Docker / Debian / Firefox / English
### **Logs**
Are there errors in the browser console? n/a
### **Steps to reproduce:**
Step 1
\* Login to OpenProject using an administrator account
\* Click the "Avatar" then click "Administration"
\* Click on "System Settings" then "Display"
\* Review the Languages that are enabled (ticked) in the list, noting one that is not ticked (e.g. Nederlands)
\* Click the "Left Arrow" then click the "Overview" link
Step 2
\* Click on "Users and Permissions" then "Settings"
\* Click the "Default Language" field to show the list of Languages
\* Note that this is a list of all languages; it should be the languages enabled in step 1
\* Select the language chosen in Step 1
\* Click "Save"
Step 3
\* Click on "Users" then the "+User" button
\* Enter values in the form, noting that this does not include a language field
\* Click the "Create" button
Step 4
\* Click on "Users" to show the list of users
\* Click on the new username to edit that users data
\* Note that the Language shows an enabled language, not the Default Language selected in step 2 (e.g. Deutsch)
### **Actual Behavior**
The Default Language field allows languages that are not enabled. Creating a new user with an "invalid" language then sets the user language to an enabled language (it seems to be the first enabled language)
### **Expected Behavior**
The Default Language list should match the enabled languages, so that a new user gets the correct default language
### Notes
* The Language list in the Consent section is correct
* The New User language is the Default Language if this is an enabled language
### Additional information:
\* Enabling the language that was used, then viewing the user details shows the language that was set for the user.
\* Disabling a language that was set for the user does not give a warning but changes the language shown in the user details.
It seems that the language is stored correctly but is not displayed correctly