Bug 55664 - mixed language selfservice
mixed language selfservice
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Portal
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-3-errata
Assigned To: Iván.Delgado
Christian Castens
https://git.knut.univention.de/univen...
:
: 55009 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-02-07 13:54 CET by Tim Breidenbach
Modified: 2023-05-24 08:36 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.046
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize
Max CVSS v3 score:


Attachments
the notification with german language settings (8.25 KB, image/png)
2023-02-07 13:54 CET, Tim Breidenbach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Breidenbach univentionstaff 2023-02-07 13:54:44 CET
Created attachment 11032 [details]
the notification with german language settings

When using the selfservice /portal/#/selfservice/* (eg. setting your picture) you will get an notification about the successfull change. If you choose german as language you will get thos notification:

"""
Aktion erfolgreich
Profil Änderungen
Successfully saved changes
"""

That is 
1. mixed language
2. maybe too much information, cause "Aktion erfolgreich is implicit for Successfully saved changes"
Comment 1 Florian Best univentionstaff 2023-02-07 14:01:06 CET
management/univention-portal/frontend/src/views/selfservice/Profile.vue:              description: 'Successfully saved changes',

diff --git management/univention-portal/frontend/src/views/selfservice/Profile.vue management/univention-portal/frontend/src/views/selfservice/Profile.vue
index 5c07521fd6..07e7200d37 100644
--- management/univention-portal/frontend/src/views/selfservice/Profile.vue
+++ management/univention-portal/frontend/src/views/selfservice/Profile.vue
@@ -350,7 +350,7 @@ export default defineComponent({
           }).then(() => {
             this.$store.dispatch('notifications/addSuccessNotification', {
               title: _('Profile changes'),
-              description: 'Successfully saved changes',
+              description: _('Successfully saved changes'),
             });
             this.$router.push({ name: 'portal' });
           });

→ plus add a translation to the translation file
Comment 2 Tim Breidenbach univentionstaff 2023-02-07 15:01:26 CET
/portal/#/newpassword is also affected:


"""
Neues  Passwort setzen
New password
New password retype
"""

and when failing due to the complexity:
"""
Es ist ein Fehler aufgetreten
Fehler in der Passwort-Richtlinie: Password does not meet the password complexity requirements
"""
Comment 4 Tim Breidenbach univentionstaff 2023-03-22 10:42:07 CET
I new tests i can't reproduce the finding from comment #2.

But if the user was logged in, waited too long and then want to change the password, there is also a mixed language:

"""
Fehler:
Passwort ändern
For using this request a login is required.
"""
Comment 5 Iván.Delgado univentionstaff 2023-03-28 18:07:37 CEST
univention-s4-connector.yaml
5e72c5375f2f | Bug #55664: univention-s4-connector 14.0.13-3A~5.0.0.202303281801
e40e31a20fc1 | Bug #55664: update changelog + advisory univention-s4-connector

univention-s4-connector (14.0.13-3)
e40e31a20fc1 | Bug #55664: update changelog + advisory univention-s4-connector

univention-s4-connector (14.0.13-2)
93e4468e1c5c | Bug #55664: fix mixed langages

univention-quota.yaml
80dab28c6c0b | Bug #55664: univention-quota 14.0.4-2A~5.0.0.202303281802
6a683fd43ff7 | Bug #55664: update changelog + advisory univention-quota

univention-quota (14.0.4-2)
6a683fd43ff7 | Bug #55664: update changelog + advisory univention-quota

univention-quota (14.0.4-1)
93e4468e1c5c | Bug #55664: fix mixed langages

univention-portal.yaml
7270d1181adf | Bug #55664: univention-appcenter 9.0.7-4A~5.0.0.202303281759
1e30d03c15eb | Bug #55664: update changelog + advisory univention-portal

univention-portal (4.0.9-3)
1e30d03c15eb | Bug #55664: update changelog + advisory univention-portal

univention-portal (4.0.9-2)
93e4468e1c5c | Bug #55664: fix mixed langages

univention-management-console.yaml
42dec431eae6 | Bug #55664: univention-management-console 12.0.17-9A~5.0.0.202303281750
9fb1ec49d1ed | Bug #55664: update changelog + advisory univention-management-console

univention-management-console (12.0.17-9)
9fb1ec49d1ed | Bug #55664: update changelog + advisory univention-management-console

univention-management-console (12.0.17-8)
93e4468e1c5c | Bug #55664: fix mixed langages

univention-appcenter.yaml
c495d0c41fa3 | Bug #55664: univention-appcenter 9.0.7-4A~5.0.0.202303281759
9e1c6cedf556 | Bug #55664: update changelog + advisory univention-appcenter

univention-appcenter (9.0.7-4)
9e1c6cedf556 | Bug #55664: update changelog + advisory univention-appcenter

univention-appcenter (9.0.7-3)
93e4468e1c5c | Bug #55664: fix mixed langages
Comment 6 Christian Castens univentionstaff 2023-03-29 13:02:07 CEST
QA: OK
Comment 8 Iván.Delgado univentionstaff 2023-05-24 08:36:16 CEST
*** Bug 55009 has been marked as a duplicate of this bug. ***