← Back to team overview

mahara-contributors team mailing list archive

[Bug 1908837] Re: Trying to get property of non-object in module/assessmentreport/lib.php line 60

 

** Changed in: mahara/19.10
       Status: Fix Committed => Fix Released

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

Title:
  Trying to get property of non-object in
  module/assessmentreport/lib.php line 60

Status in Mahara:
  Fix Released
Status in Mahara 19.10 series:
  Fix Released
Status in Mahara 20.04 series:
  Fix Released
Status in Mahara 20.10 series:
  Fix Committed
Status in Mahara 21.04 series:
  Fix Released

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/assessmentreport/lib.php:60) Trying to get property 'id' of non-object

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


References