mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #24617
[Bug 1132661] Re: disabling all file blocktypes causes an error when editing pages
I tried turning off all the file blocktypes I could find (filedownload,
folder, gallery, html, image, internalmedia, pdf) on latest master and
everything works as it should for me (the "Media" group doesn't show up
and no error is displayed). Are any other steps needed to replicate the
bug?
--
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/1132661
Title:
disabling all file blocktypes causes an error when editing pages
Status in Mahara ePortfolio:
Confirmed
Bug description:
If you go into the extensions configuration page and merrily
disable/hide all the file blocktypes, an error will get thrown
whenever you progress in page editing from the title etc to adding
content, or when re-editing the page.
The default block category is the 'Files, images and video' type, of
which all the blocks are not available for use.
[WAR] 20 (lib/view.php:1182) Undefined offset: 0
Call stack (most recent first):
log_message("Undefined offset: 0", 8, true, true, "/var/www/mahara-dev/code/htdocs/lib/view.php", 1182) at /var/www/mahara-dev/code/htdocs/lib/errors.php:446
error(8, "Undefined offset: 0", "/var/www/mahara-dev/code/htdocs/lib/view.php", 1182, array(size 1)) at /var/www/mahara-dev/code/htdocs/lib/view.php:1182
View->get_default_category() at /var/www/mahara-dev/code/htdocs/view/blocks.php:119
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1132661/+subscriptions
References