Univention Bugzilla – Full Text Bug Listing |
Summary: | Error message for failed authentication is always english | ||
---|---|---|---|
Product: | UCS | Reporter: | Michael Grandjean <grandjean> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Arvid Requate <requate> |
Severity: | normal | ||
Priority: | P5 | CC: | best, botner |
Version: | UCS 4.3 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.4-0-errata | ||
Hardware: | Other | ||
OS: | All | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 4: Minor Usability: Impairs usability in secondary scenarios |
Who will be affected by this bug?: | 5: Will affect all installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.229 | Enterprise Customer affected?: | |
School Customer affected?: | Yes | ISV affected?: | |
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Attachments: | Screenshot: German UMC login with english error message |
Is it the SAML login or the default login? (In reply to Florian Best from comment #2) > Is it the SAML login or the default login? It's the non SAML login. Here is a patch: diff --git a/management/univention-management-console/src/univention/management/console/protocol/session.py b/management/univention-management-console/src/univention/management/console/protocol/session.py index 71bdc97d6e..4e939e4aff 100644 --- a/management/univention-management-console/src/univention/management/console/protocol/session.py +++ b/management/univention-management-console/src/univention/management/console/protocol/session.py @@ -977,6 +977,7 @@ def handle(self, request): » » » from univention.management.console.protocol.server import Server » » » Server.reload() » » » try: +» » » » request.body['locale'] = str(self.i18n.locale) » » » » self.__auth.authenticate(request) » » » except (TypeError, KeyError): » » » » response = Response(request) Just as an addition: The message that appears if a password change is required is also always in english. Okay, I applied the hotfix because it works :-D I am not really happy with the solution but maybe it can be improoved on another bug squashing day. univention-management-console.yaml d47a9952e93e | YAML Bug #49029 univention-management-console (11.0.4-11) 42788197f065 | Bug #49029: fix translation of authentication messages I hope the ucs-test are not using an german connection ! :-P * Functional test: Ok * Advisory: Ok I fixed the language of the broken test cases: ucs-test (9.0.2-31) 6c1f66938bfc | Bug #49029: set english language in test cases *** Bug 44737 has been marked as a duplicate of this bug. *** |
Created attachment 9932 [details] Screenshot: German UMC login with english error message root@ucs01:~# univention-app info UCS: 4.3-3 errata456 Installed: ucsschool=4.3 v6 Upgradable: ucsschool Scenario: Login at UMC, language is german. The entered credentials are wrong (username or password). The error message is always in english: "The authentication has failed, please login again." The error message should be localized, too.