Problem with cleanurls and masquerading -undefined method stdClass::get()

Bug #1544382 reported by Robert Lyon on 2016-02-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Low
Robert Lyon
15.10
Low
Unassigned

Bug Description

I get this fatal error PHP Fatal error: Call to undefined method stdClass::get() in /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/view.php on line 5801, referer: https://mahara-testing/admin/users/edit.php?id=4

Robert Lyon (robertl-9) on 2016-02-24
Changed in mahara:
status: New → In Progress

Reviewed: https://reviews.mahara.org/6051
Committed: https://git.mahara.org/mahara/mahara/commit/8177e87440c78ef3280dbbce15e14de95a88f742
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 8177e87440c78ef3280dbbce15e14de95a88f742
Author: Robert Lyon <email address hidden>
Date: Thu Feb 11 15:11:57 2016 +1300

Bug 1544382: get_url() and clean url problem

Sometimes the object holding the user data is a StdClass rather than a
User object

behatnotneeded

Change-Id: I39f1333eac08876653a427488280859db1022a90
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9) on 2016-03-01
Changed in mahara:
status: In Progress → Fix Committed

Reviewed: https://reviews.mahara.org/6224
Committed: https://git.mahara.org/mahara/mahara/commit/0e4f306a2f0abe7bb62629fc8f5ac98818082659
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.10_STABLE

commit 0e4f306a2f0abe7bb62629fc8f5ac98818082659
Author: Robert Lyon <email address hidden>
Date: Thu Feb 11 15:11:57 2016 +1300

Bug 1544382: get_url() and clean url problem

Sometimes the object holding the user data is a StdClass rather than a
User object

behatnotneeded

Change-Id: I39f1333eac08876653a427488280859db1022a90
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 8177e87440c78ef3280dbbce15e14de95a88f742)

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers