Page not created with tagged content when page with a tag is part of collection

Bug #1795189 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon
18.10
Fix Released
High
Robert Lyon

Bug Description

In bug #1775106 we introduced the possibility to populate a page with tagged content.

That doesn't happen when a page with the selected tag is part of a collection.

To replicate:

1. Create a journal entry and tag it "mahara".
2. Create a page and tag it "mahara".
3. Create a collection and add the page to it.
4. Create another page and in "Create via tags" enter "mahara".
Expected result: The page is created and the journal entry added.
Actual result: The following error message.

[WAR] eb (lib/errors.php:536) [Error]: Class 'Collection' not found
Call stack (most recent first):

    exception(object(Error)) at Unknown:0

Changed in mahara:
milestone: 18.10.0 → 18.10rc1
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/9168

Robert Lyon (robertl-9)
Changed in mahara:
status: Confirmed → In Progress
Changed in mahara:
assignee: nobody → Robert Lyon (robertl-9)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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

commit cc724200e3ed130054829ba97320d98475d751df
Author: Robert Lyon <email address hidden>
Date: Tue Oct 2 14:11:40 2018 +1300

Bug 1795189: Handle collections better when making page via tags

behatnotneeded

Change-Id: Iac1d86acc61b8a7d06477f1cfffdb1bef2cbc3b1
Signed-off-by: Robert Lyon <email address hidden>

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

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

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

commit 8bac3989a9ab04a23c9ca3edf36ef47450f1acd4
Author: Robert Lyon <email address hidden>
Date: Tue Oct 2 14:11:40 2018 +1300

Bug 1795189: Handle collections better when making page via tags

behatnotneeded

Change-Id: Iac1d86acc61b8a7d06477f1cfffdb1bef2cbc3b1
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit cc724200e3ed130054829ba97320d98475d751df)

no longer affects: mahara/19.04
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.