← Back to team overview

mahara-contributors team mailing list archive

[Bug 1851165] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10575
Committed: https://git.mahara.org/mahara/mahara/commit/3c4b28333c87d4372984ddcc0192f06d5da58368
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    19.10_STABLE

commit 3c4b28333c87d4372984ddcc0192f06d5da58368
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date:   Mon Nov 4 13:36:36 2019 +1300

Bug 1851165: filter tags by owner id

behatnotneeded

Change-Id: Ib973889a28b5a3319ffc2fbc6c240ba802d7a7ea
(cherry picked from commit ddbf98b7e0fa049f5aef908757347ebebc27d3e6)

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

Title:
  display_tag() missing index error

Status in Mahara:
  In Progress
Status in Mahara 18.10 series:
  Confirmed
Status in Mahara 19.04 series:
  Confirmed
Status in Mahara 19.10 series:
  Confirmed
Status in Mahara 20.04 series:
  In Progress

Bug description:
  After upgrading from 18.04 I get this error error message when I go to
  Create -> Files page

  [WAR] c1 (lib/form/elements/tags.php:99) Undefined index: OPSO
  Call stack (most recent first):

      log_message("Undefined index: OPSO", 8, true, true, "/home/robertl/code/mahara-devel/mahara/htdocs/lib/...", 99) at /home/robertl/code/mahara-devel/mahara/htdocs/lib/errors.php:520
      error(8, "Undefined index: OPSO", "/home/robertl/code/mahara-devel/mahara/htdocs/lib/...", 99, array(size 2)) at /home/robertl/code/mahara-devel/mahara/htdocs/lib/form/elements/tags.php:99
      display_tag("OPSO", array(size 0)) at /home/robertl/code/mahara-devel/mahara/htdocs/artefact/file/lib.php:723
      ArtefactTypeFileBase::get_my_files_data(0"1", null, null, null) at /home/robertl/code/mahara-devel/mahara/htdocs/lib/form/elements/filebrowser.php:163

  
  To replicate:

  1) Have a new 18.04 install
  2) Upload a file to the Create -> Files page area
  3) Edit it and add a tag
  4) Upgrade the site to master
  5) Go to the Create -> Files page - see error

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


References