display_tag() missing index error

Bug #1851165 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Cecilia Vela Gurovic
18.10
Fix Released
High
Unassigned
19.04
Fix Released
High
Unassigned
19.10
Fix Released
High
Unassigned
20.04
Fix Released
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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/10558

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "19.10_STABLE" branch: https://reviews.mahara.org/10575

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "19.04_STABLE" branch: https://reviews.mahara.org/10576

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "18.10_STABLE" branch: https://reviews.mahara.org/10577

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)

Changed in mahara:
status: Fix Committed → Fix Released
Robert Lyon (robertl-9)
Changed in mahara:
milestone: 20.04.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.