mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #58947
[Bug 1885231] A change has been merged
Reviewed: https://reviews.mahara.org/11049
Committed: https://git.mahara.org/mahara/mahara/commit/b878094afae0a9182214a7975481ccc378bbafe4
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch: 19.10_STABLE
commit b878094afae0a9182214a7975481ccc378bbafe4
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Fri Jun 26 12:15:34 2020 +1200
Bug 1885231: Insure institution class is presesnt
When calling get_framework_institution()
Change-Id: I3d4a2f33dd06c3cd15f000fd102f25fbed063dfe
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit 2cd4d0b74feebc52462be479744cade710384e0f)
--
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/1885231
Title:
Class 'Institution' not found when viewing another user's profile
page
Status in Mahara:
Fix Committed
Status in Mahara 19.04 series:
Fix Committed
Status in Mahara 19.10 series:
Fix Committed
Status in Mahara 20.04 series:
Fix Committed
Status in Mahara 20.10 series:
Fix Committed
Bug description:
When we have the following:
0) Start with a 19.04 site
1) A site / institution with SE framework enabled
2) User A creates a collection but does NOT share it
3) User A adds a 'navigation' block to their profile page and chooses the collection
4) User B logs in and searches up User A goes to the profile page of User A
- gets error
The problem here is the navigation block wants to go to function
get_framework_institution() to work out some info and it fails if
institution class has not been included
So we need to make sure institution class is included at the start of
that function
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1885231/+subscriptions
References