display_tag() missing index error

Bug #1851165 reported by Robert Lyon on 2019-11-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Status tracked in 20.04
18.10
High
Unassigned
19.04
High
Unassigned
19.10
High
Unassigned
20.04
High
Cecilia Vela Gurovic

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

Reviewed: https://reviews.mahara.org/10558
Committed: https://git.mahara.org/mahara/mahara/commit/ddbf98b7e0fa049f5aef908757347ebebc27d3e6
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit ddbf98b7e0fa049f5aef908757347ebebc27d3e6
Author: Cecilia Vela Gurovic <email address hidden>
Date: Mon Nov 4 13:36:36 2019 +1300

Bug 1851165: filter tags by owner id

behatnotneeded

Change-Id: Ib973889a28b5a3319ffc2fbc6c240ba802d7a7ea

Reviewed: https://reviews.mahara.org/10575
Committed: https://git.mahara.org/mahara/mahara/commit/3c4b28333c87d4372984ddcc0192f06d5da58368
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.10_STABLE

commit 3c4b28333c87d4372984ddcc0192f06d5da58368
Author: Cecilia Vela Gurovic <email address hidden>
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)

Reviewed: https://reviews.mahara.org/10576
Committed: https://git.mahara.org/mahara/mahara/commit/042c141bcbecde9a7e636dc5391f0f2e57af6446
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.04_STABLE

commit 042c141bcbecde9a7e636dc5391f0f2e57af6446
Author: Cecilia Vela Gurovic <email address hidden>
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)
(cherry picked from commit 3c4b28333c87d4372984ddcc0192f06d5da58368)

Reviewed: https://reviews.mahara.org/10577
Committed: https://git.mahara.org/mahara/mahara/commit/1f5dd73cea2d07de0a0531f33f565fef8f10d9b3
Submitter: Robert Lyon (<email address hidden>)
Branch: 18.10_STABLE

commit 1f5dd73cea2d07de0a0531f33f565fef8f10d9b3
Author: Cecilia Vela Gurovic <email address hidden>
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)
(cherry picked from commit 3c4b28333c87d4372984ddcc0192f06d5da58368)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers