← Back to team overview

mahara-contributors team mailing list archive

[Bug 1885231] Re: Class 'Institution' not found when viewing another user's profile page

 

The patch will stop the error from being thrown - but if the collection
is not currently shared with an access rule that allows the view to see
the pages then the links will return 'access denied' as per normal.

** Also affects: mahara/19.04
   Importance: Undecided
       Status: New

** Also affects: mahara/20.10
   Importance: Undecided
       Status: In Progress

** Also affects: mahara/19.10
   Importance: Undecided
       Status: New

** Also affects: mahara/20.04
   Importance: Undecided
       Status: New

** Changed in: mahara/20.04
       Status: New => In Progress

** Changed in: mahara/19.10
       Status: New => In Progress

** Changed in: mahara/19.04
       Status: New => In Progress

** Changed in: mahara/20.10
   Importance: Undecided => High

** Changed in: mahara/20.04
   Importance: Undecided => High

** Changed in: mahara/19.10
   Importance: Undecided => High

** Changed in: mahara/19.04
   Importance: Undecided => Critical

** Changed in: mahara/19.04
   Importance: Critical => High

** Changed in: mahara/20.10
    Milestone: None => 20.10.0

** Changed in: mahara/20.04
    Milestone: None => 20.04.1

** Changed in: mahara/19.10
    Milestone: None => 19.10.4

** Changed in: mahara/19.04
    Milestone: None => 19.04.6

-- 
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:
  In Progress
Status in Mahara 19.04 series:
  In Progress
Status in Mahara 19.10 series:
  In Progress
Status in Mahara 20.04 series:
  In Progress
Status in Mahara 20.10 series:
  In Progress

Bug description:
  When we have the following:

  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