** Changed in: mahara
Status: In Progress => Fix Committed
--
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/1939471
Title:
Font upload results in warning
Status in Mahara:
Fix Committed
Bug description:
The upload of a font results in the following warning:
[WAR] 5d (admin/site/font/install.php:326) Trying to access array offset on
value of type null
Call stack (most recent first):
log_message("Trying to access array offset on value of type nul...", 8,
true, true, "/home/kristina/code/mahara/htdocs/admin/site/font/...", 326) at
/home/kristina/code/mahara/htdocs/lib/errors.php:521
error(8, "Trying to access array offset on value of type nul...",
"/home/kristina/code/mahara/htdocs/admin/site/font/...", 326, array(size 20))
at /home/kristina/code/mahara/htdocs/admin/site/font/install.php:326
addfontform_submit(object(Pieform), array(size 15)) at
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:568
Pieform->__construct(array(size 4)) at
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:168
Pieform::process(array(size 4)) at
/home/kristina/code/mahara/htdocs/lib/mahara.php:5452
pieform(array(size 4)) at
/home/kristina/code/mahara/htdocs/admin/site/font/install.php:136
-----------------
To replicate:
1. Go to Admin menu -> Configure site -> Fonts -> Install font.
2. Follow the instructions for uploading a Google font and upload the Zip
file.
Expected result: The font is installed without error messages.
Actual result: The font is installed but an error message is produced.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1939471/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help : https://help.launchpad.net/ListHelp