← Back to team overview

mahara-contributors team mailing list archive

[Bug 1943668] A change has been merged

 

Reviewed:  https://reviews.mahara.org/12034
Committed: https://git.mahara.org/mahara/mahara/commit/2f373cd1b119aec7b94c7c144ca24956f8720258
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    21.04_STABLE

commit 2f373cd1b119aec7b94c7c144ca24956f8720258
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
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 <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit ec8530b02ceae523567bcb1358cea995d6d76c7d)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1943668

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

Status in Mahara:
  Fix Committed
Status in Mahara 21.04 series:
  Fix Committed
Status in Mahara 21.10 series:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1943668/+subscriptions



References