← Back to team overview

mahara-contributors team mailing list archive

[Bug 1853364] Re: find_by_instanceid_username can cause error

 

** No longer affects: mahara/20.04

** Changed in: mahara
       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: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1853364

Title:
  find_by_instanceid_username can cause error

Status in Mahara:
  Fix Released
Status in Mahara 19.10 series:
  Fix Released

Bug description:
  When checking for a user against remote name and no users returned

  error(2, "First parameter must either be an object or the na...", "../auth/user.php", 336, array(size 3)) at Unknown:0
  property_exists(false, "probation") at ../auth/user.php:336
  User->populate(false) at ../auth/user.php:287
  User->find_by_instanceid_username("33", "prova", true) at ../auth/xmlrpc/lib.php:154

  We made some adjustments to the way find_by_instanceid_username()
  works but there is still a bit of logic to sort out

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


References