← Back to team overview

mahara-contributors team mailing list archive

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

 

Public bug reported:

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

** Affects: mahara
     Importance: Undecided
         Status: New

** Changed in: mahara
    Milestone: None => 21.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1908837

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

Status in Mahara:
  New

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


Follow ups