← Back to team overview

mahara-contributors team mailing list archive

[Bug 1926380] A patch has been submitted for review

 

Patch for "21.04_STABLE" branch: https://reviews.mahara.org/11716

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1926380

Title:
  Device detection error

Status in Mahara:
  Fix Committed

Bug description:
  There is an error with the device detection that we removed for 21.04.

  Error message:

  [WAR] cb (admin/site/options.php:990) Undefined index: userscandisabledevicedetection
  Call stack (most recent first):

      log_message("Undefined index: userscandisabledevicedetection", 8, true, true, "/home/kristina/code/mahara/htdocs/admin/site/optio...", 990) at /home/kristina/code/mahara/htdocs/lib/errors.php:515
      error(8, "Undefined index: userscandisabledevicedetection", "/home/kristina/code/mahara/htdocs/admin/site/optio...", 990, array(size 7)) at /home/kristina/code/mahara/htdocs/admin/site/options.php:990
      siteoptions_submit(object(Pieform), array(size 101)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:572
      Pieform->__construct(array(size 9)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:168
      Pieform::process(array(size 9)) at /home/kristina/code/mahara/htdocs/lib/mahara.php:5589
      pieform(array(size 9)) at /home/kristina/code/mahara/htdocs/admin/site/options.php:854


  ====================

  How to replicate:

  1. Fresh database.
  2. Log in as site admin.
  3. Go to Admin menu -> Configure site -> Site options.
  4. Change the theme to any of the available ones.
  5. Save.

  Results:
  - Expected: The page saves without issues.
  - Actual: Above error message

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