Reviewed:  https://reviews.mahara.org/11050
Committed: 
https://git.mahara.org/mahara/mahara/commit/571e06fe8921f991b3d03b5b280397d92851ce60
Submitter: Cecilia Vela Gurovic (cecili...@catalyst.net.nz)
Branch:    19.04_STABLE

commit 571e06fe8921f991b3d03b5b280397d92851ce60
Author: Robert Lyon <robe...@catalyst.net.nz>
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 <robe...@catalyst.net.nz>
(cherry picked from commit 2cd4d0b74feebc52462be479744cade710384e0f)
(cherry picked from commit b878094afae0a9182214a7975481ccc378bbafe4)

-- 
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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to