Error: Undefined index versioning

Bug #1818591 reported by Cecilia Vela Gurovic on 2019-03-05
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
High
Rebecca Blundell
18.10
High
Unassigned
19.04
High
Unassigned
19.10
High
Rebecca Blundell

Bug Description

Create a journal and make a couple of entries
Create a page, add a blog block to it and select the journal
Share the page with other user
logout
Log in as the other user and access the page
Follow the link of one of the entries
Click on the name of the journal

Then the error message is displayed

[WAR] 8a (artefact/blog/lib.php:1086) Undefined index: versioning
Call stack (most recent first):

    log_message("Undefined index: versioning", 8, true, true, "/home/ceciliavg/maharacode/mahara/htdocs/artefact/...", 1086) at /home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:520
    error(8, "Undefined index: versioning", "/home/ceciliavg/maharacode/mahara/htdocs/artefact/...", 1086, array(size 16)) at /home/ceciliavg/maharacode/mahara/htdocs/artefact/blog/lib.php:1086
    ArtefactTypeBlogPost::get_posts("4", 10, 0, array(size 4)) at /home/ceciliavg/maharacode/mahara/htdocs/artefact/blog/lib.php:342
    ArtefactTypeBlog->render_self(array(size 4)) at /home/ceciliavg/maharacode/mahara/htdocs/artefact/artefact.php:128

Changed in mahara:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 19.04.0

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

commit 96feeef9361ef5c47d5e1185a21adb328df36e15
Author: Rebecca Blundell <email address hidden>
Date: Tue Jun 18 18:14:34 2019 +1200

Bug 1818591: Fix undefined index versioning error

behatnotneeded

Change-Id: I144b9763c393e8956d831b3169099b37d8fb4a0b

Mahara Bot (dev-mahara) wrote :

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

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

commit 5d40e61e22731e05a5925c36aac21c4fbdb03fca
Author: Rebecca Blundell <email address hidden>
Date: Tue Jun 18 18:14:34 2019 +1200

Bug 1818591: Fix undefined index versioning error

behatnotneeded

Change-Id: I144b9763c393e8956d831b3169099b37d8fb4a0b
(cherry picked from commit 96feeef9361ef5c47d5e1185a21adb328df36e15)

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

Other bug subscribers