← Back to team overview

mahara-contributors team mailing list archive

[Bug 1296915] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3117
Committed: http://gitorious.org/mahara/mahara/commit/274bc0ebcef132fe61919aa11e5a483aadf43755
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 274bc0ebcef132fe61919aa11e5a483aadf43755
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Tue Mar 25 16:43:17 2014 +1300

Revert "Correcting licensedefault's default value for 'no institution'"

This patch caused a regression. See Bug 1296915

This reverts commit 9d491d4afedf5385f14dc0b9bcbc98daa5e985f8.

Change-Id: I819066517ad3c1b4205c6b9a36b18530b3a2fb70

-- 
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/1296915

Title:
  settings page error Undefined index: licensedefault

Status in Mahara ePortfolio:
  In Progress

Bug description:
  This is a regression.

  The fix for: https://bugs.launchpad.net/mahara/+bug/1251089 has
  created a new bug where if the site does NOT have License metadata
  config option set it throws an error:

  [WAR] ce (account/index.php:103) Undefined index: licensedefault
  Call stack (most recent first):

      log_message("Undefined index: licensedefault", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
      error(8, "Undefined index: licensedefault", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103

  [WAR] ce (account/index.php:103) Undefined index: licensedefault
  Call stack (most recent first):

      log_message("Undefined index: licensedefault", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
      error(8, "Undefined index: licensedefault", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103

  [WAR] ce (account/index.php:103) array_keys() expects parameter 1 to be array, null given
  Call stack (most recent first):

      log_message("array_keys() expects parameter 1 to be array, null...", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
      error(2, "array_keys() expects parameter 1 to be array, null...", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at Unknown:0
      array_keys(null) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103

  [WAR] ce (account/index.php:103) array_search() expects parameter 2 to be array, null given
  Call stack (most recent first):

      log_message("array_search() expects parameter 2 to be array, nu...", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
      error(2, "array_search() expects parameter 2 to be array, nu...", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at Unknown:0
      array_search(null, null) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1296915/+subscriptions


References