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

Bug #1544382 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Robert Lyon
15.10
Fix Released
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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/6051

Robert Lyon (robertl-9)
Changed in mahara:
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)
Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.10_STABLE" branch: https://reviews.mahara.org/6224

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.