mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #56685
[Bug 1851165] A patch has been submitted for review
Patch for "18.10_STABLE" branch: https://reviews.mahara.org/10577
--
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