mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #40378
[Bug 1651592] Re: Navigating to fonts in admin throws an error
Hmm, actually the error that it is throwing is correct:
exception(object(FeatureNotEnabledException))
It is saying the feature is not enabled.
What we need to do is catch the error and throw an 'access denied' type
error to give the 'You do not have permission to see this page' screen.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1651592
Title:
Navigating to fonts in admin throws an error
Status in Mahara:
Confirmed
Bug description:
Version: 17:04
Browser: Chrome, FF
Steps to Reproduce:
1) Login as admin
2) Navigate to Administration> configure site> fonts
Result: Warning message is displayed as below but if the config file
has $cfg->skins = true; it doesnt throw an error and if set to false
it throws the same error.
[WAR] 39 (admin/site/fonts.php:25)
Call stack (most recent first):
log_message("", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/admin/site/...", 25, array(size 0)) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:648
MaharaException->handle_exception() at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:547
exception(object(FeatureNotEnabledException)) at Unknown:0
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1651592/+subscriptions
References