Releasing submitted page to be archived on upgraded site fails if new submission module is not installed

Bug #1928506 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Unassigned
21.04
Fix Released
High
Unassigned

Bug Description

To test:

Install 20.10 version of Mahara

Login as admin
Create group - Group X
- set allow submissions = yes
- set archive submissions = yes

Create 2 users A and B
Add them to group X as members

Login in as A
Make page
Add comment block to page
Share page with B

Login as B
Comment on page

Login in as A
Submit page to group X

Upgrade site to 21.04 version

Login as Admin
Release the page

Expected result:

Get success message "Page will be released after archiving"

Actual result:

Class 'PluginModuleSubmissions' not found at htdocs/lib/view.php:1681

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

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

Reviewed: https://reviews.mahara.org/11776
Committed: https://git.mahara.org/mahara/mahara/commit/953cdd487191f826a6775ddb8f15b40c02fba9f5
Submitter: Lisa Seeto (<email address hidden>)
Branch: master

commit 953cdd487191f826a6775ddb8f15b40c02fba9f5
Author: Robert Lyon <email address hidden>
Date: Sat May 15 06:42:46 2021 +1200

Bug 1928506: Archive on release for page

When new submissions plugin is not installed

Completing the partial fix done in Bug 1926549

Change-Id: I516cf107ef07a8fc5e9a6fdf1c703b9590c9f16d
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 "21.04_STABLE" branch: https://reviews.mahara.org/11783

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

Reviewed: https://reviews.mahara.org/11783
Committed: https://git.mahara.org/mahara/mahara/commit/b4b9f98730c0653413db4bf9b2b8c22459243be7
Submitter: Lisa Seeto (<email address hidden>)
Branch: 21.04_STABLE

commit b4b9f98730c0653413db4bf9b2b8c22459243be7
Author: Robert Lyon <email address hidden>
Date: Sat May 15 06:42:46 2021 +1200

Bug 1928506: Archive on release for page

When new submissions plugin is not installed

Completing the partial fix done in Bug 1926549

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

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