Trying to get property of non-object in module/assessmentreport/lib.php line 60
Bug #1908837 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mahara | ||||||
19.10 |
Fix Released
|
High
|
Unassigned | |||
20.04 |
Fix Released
|
High
|
Unassigned | |||
20.10 |
Fix Released
|
High
|
Unassigned | |||
21.04 |
Fix Released
|
High
|
Unassigned |
Bug Description
When releasing a collection and the assessment report is enabled there is an error with the $releaseuser
It is given as a string instead of an object
To test:
1) Have a group that accepts submission and has submission archiving turned on
2) As a group member submit a collection to the group
3) As group admin release the collection
4) Run the cron from command line: sudo -u www-data php htdocs/lib/cron.php
You should see an error similar to
[WAR] a2 (module/
Changed in mahara: | |
milestone: | none → 21.04.0 |
no longer affects: | mahara |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/11505