Errors releasing submission whensubmitted to external host and module/submissions is enabled

Bug #1943668 reported by Robert Lyon
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon
21.04
Fix Released
High
Robert Lyon

Bug Description

Get the following errors

Argument 1 passed to Submissions\\Repository\\SubmissionRepository::findLatestReleasingSubmissionByGroupAndPortfolioElement() must be of the type integer, null given, called in [path]/module/submissions/lib.php on line 247 at [path]/module/submissions/src/Repository/SubmissionRepository.php:116

This is because the module/submissions is for dealing with submissions to groups and so should not be called when releasing a submission that is for an external host

Changed in mahara:
importance: Undecided → High
status: New → Confirmed
milestone: none → 21.10.0
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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

commit ec8530b02ceae523567bcb1358cea995d6d76c7d
Author: Robert Lyon <email address hidden>
Date: Wed Sep 15 14:26:52 2021 +1200

Bug 1943668: Problem with releaseing portfolios not submitted to group

When the module/submissions plugin is active

Change-Id: I95bf8c41e7e946941da9cbf63b4e79139182f7d9
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/12034

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

Reviewed: https://reviews.mahara.org/12034
Committed: https://git.mahara.org/mahara/mahara/commit/2f373cd1b119aec7b94c7c144ca24956f8720258
Submitter: Robert Lyon (<email address hidden>)
Branch: 21.04_STABLE

commit 2f373cd1b119aec7b94c7c144ca24956f8720258
Author: Robert Lyon <email address hidden>
Date: Wed Sep 15 14:26:52 2021 +1200

Bug 1943668: Problem with releaseing portfolios not submitted to group

When the module/submissions plugin is active

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

no longer affects: mahara/21.10
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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