mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #56874
[Bug 1853364] [NEW] find_by_instanceid_username can cause error
Public bug reported:
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
** Affects: mahara
Importance: High
Status: In Progress
** Affects: mahara/19.10
Importance: High
Status: New
** Affects: mahara/20.04
Importance: High
Status: In Progress
** Changed in: mahara
Importance: Undecided => High
** Also affects: mahara/19.10
Importance: Undecided
Status: New
** Also affects: mahara/20.04
Importance: High
Status: New
** Changed in: mahara/19.10
Importance: Undecided => High
** Changed in: mahara/20.04
Status: New => In Progress
** Changed in: mahara/20.04
Milestone: None => 20.04.0
** Changed in: mahara/19.10
Milestone: None => 19.10.2
--
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:
In Progress
Status in Mahara 19.10 series:
New
Status in Mahara 20.04 series:
In Progress
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
Follow ups