mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #64576
[Bug 1952493] Re: Installing Mahara in German results in password error
The fix will be included in the langpack when it is generated next and
thus doesn't have to wait until the release of a minor point version.
The tagging is just done so that it conforms to our release pattern.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1952493
Title:
Installing Mahara in German results in password error
Status in Mahara:
Fix Committed
Status in Mahara 21.04 series:
Fix Committed
Status in Mahara 21.10 series:
Fix Committed
Status in Mahara 22.04 series:
Fix Committed
Bug description:
When I install Mahara in German, I get the following error message
(also see attachment for highlighted version):
[WAR] 35 (lib/mahara.php:1589) sprintf(): Too few arguments
Call stack (most recent first):
log_message("sprintf(): Too few arguments", 8, true, true, "/home/kristina/code/mahara/htdocs/lib/mahara.php", 1589) at /home/kristina/code/mahara/htdocs/lib/errors.php:515
error(2, "sprintf(): Too few arguments", "/home/kristina/code/mahara/htdocs/lib/mahara.php", 1589, array(size 3)) at Unknown:0
sprintf("Muss Großbuchstaben [A-Z], Kleinbuchstaben [a-z],...") at /home/kristina/code/mahara/htdocs/lib/mahara.php:1589
format_langstring("Muss Großbuchstaben [A-Z], Kleinbuchstaben [a-z],...", array(size 0), "de.utf8") at /home/kristina/code/mahara/htdocs/lib/mahara.php:596
get_string_location("passworddescription1.ulns", "mahara", array(size 0)) at /home/kristina/code/mahara/htdocs/lib/mahara.php:336
get_string("passworddescription1.ulns", "mahara") at /home/kristina/code/mahara/htdocs/lib/mahara.php:6016
get_password_policy_description("user") at /home/kristina/code/mahara/htdocs/auth/lib.php:1390
auth_check_required_fields() at /home/kristina/code/mahara/htdocs/auth/lib.php:547
auth_setup() at /home/kristina/code/mahara/htdocs/init.php:424
require("/home/kristina/code/mahara/htdocs/init.php") at /home/kristina/code/mahara/htdocs/index.php:16
To replicate in Chrome / Chromium:
1. Click the *Open and customize Google Chrome* icon.
2. In the search bar at the top, type 'Language'. The search results are highlighted.
3. Click the *Add languages* link.
4. Search or browse to the language that you want to add and select its check box.
5. Click the *Add* button. You are returned to the settings screen.
6. Click the *More actions* icon next to the language that you want to make your primary language.
7. Select the option *Move to the top*. Your changes are saved immediately.
8. Install Mahara. Double check that it is in German by checking that you see the install button as 'Mahara installieren'. Not everything on the install page is translated.
9. Once the installation is done, click the link 'Weiter' at the bottom of the page.
Result:
- Expected: I can enter the password for the admin account.
- Actual: I see the above error message but can still enter the password.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1952493/+subscriptions
References