← Back to team overview

mahara-contributors team mailing list archive

[Bug 1132661] Re: disabling all file blocktypes causes an error when editing pages

 

[Expired for Mahara because there has been no activity for 60 days.]

** Changed in: mahara
       Status: Incomplete => Expired

-- 
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:
  Expired

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