mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #11713
[Bug 1132661] [NEW] disabling all file blocktypes causes an error when editing pages
Public bug reported:
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
** Affects: mahara
Importance: Undecided
Status: New
** Description changed:
- If you go into the extensions configuration page and merrily disable all
- the file blocktypes, an error will get thrown whenever you progress in
- page editing from the title etc to adding content.
+ 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
+ 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
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1132661
Title:
disabling all file blocktypes causes an error when editing pages
Status in Mahara ePortfolio:
New
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
Follow ups
References