← Back to team overview

mahara-contributors team mailing list archive

[Bug 1296915] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3136
Committed: http://gitorious.org/mahara/mahara/commit/467ca4361adde69276f63b527a57a73e68a0b748
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit 467ca4361adde69276f63b527a57a73e68a0b748
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Mar 31 07:30:58 2014 +1300

Fixing usr_account_preference bad data cleanup sql call (Bug #1296915)

Change-Id: I442d6f4f4b62ccdaf00dc44e3941128f0b0e9b21
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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