Issue submitting collections via Moodle

Bug #1949282 reported by Kristina Hoeppner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Incomplete
Undecided
Unassigned

Bug Description

Reported as issue with bug #1862370

This item causes a regression:

Moodle: Students unable to submit a Collection in a Mahara assignment

Argument 1 passed to Submissions\Repository\SubmissionRepository::findLatestReleasingSubmissionByGroupAndPortfolioElement() must be of the type int, null given, called in htdocs/module/submissions/lib.php on line 247

Patch at https://bugs.launchpad.net/mahara/+bug/1862370/+attachment/5536383/+files/Moodle%20Collection%20submission%20regression.patch

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hi Tim,

Can you please provide more information? Which version of Moodle? The MNet Mahara assignment submission plugin or the web services one?

Thank you
Kristina

Changed in mahara:
status: New → Incomplete
Revision history for this message
Tim Lock (timlock) wrote :

Hi Kristina,

Moodle Submission plugin version 2018053100.

Revision history for this message
David Balch (davidbalch) wrote :

I've encountered this with:

 * Mahara 21.04.1 (module submissions 2020102700)
 * Moodle 3.9.10
 * assignsubmission_maharaws 1.5.1 (2021081800)

It occurs in assignments with "Lock submitted portfolios" set to "No": When the student edits their submission, selects a portfolio, and saves changes, an unrecoverable error occurs (errorwsrequest).

Tim's patch fixes this submission failure for me (although it doesn't apply cleanly to this Mahara version).

Revision history for this message
Robert Lyon (robertl-9) wrote :

I believe the fix for this issue is actually a bit further up in the code path.

The fix here https://reviews.mahara.org/#/c/12034/ was released in 21.04.2_RELEASE to fix this exact problem

Cheers
Robert

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.