Share access for site wide Profile page error

Bug #1597549 reported by Ghada El-Zoghbi
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned
16.04
Fix Released
Medium
Unassigned
16.10
Fix Released
Medium
Unassigned

Bug Description

Mahara: master
OS: Linux
Browser: Firefox
DB: Postgres

When trying to access the Profile page access for the site (Administration > Configure site > Share > Profile page > Edit access), an error is generated:

[WAR] 33 (lib/errors.php:508) An exception was thrown of class InvalidArgumentException.
THIS IS BAD and should be changed to something extending MaharaException,
unless the exception is from a third party library.
Original trace follows
[WAR] 33 (lib/user.php:1770) couldn't load institutions, no user id specified
Call stack (most recent first):

    load_user_institutions(null) at /var/www/maharacode/mahara/htdocs/lib/view.php:1484
    View->add_owner_institution_access() at /var/www/maharacode/mahara/htdocs/view/access.php:142

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

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

In 16.04 and 16.10dev the "Profile page template" and the "Dasbhoard template" show up under "Share" as "Profile" and "Untitled" respectively. They should not be shown though as there is no real user associated with them.

Changed in mahara:
status: New → Confirmed
milestone: none → 16.10.0
importance: Undecided → Medium
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

I set up bug #1598330 for the dashboard page clean-up.

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

Reviewed: https://reviews.mahara.org/6636
Committed: https://git.mahara.org/mahara/mahara/commit/f36410ba18a2017b590087039518bd4cd7d5f923
Submitter: Ghada El-Zoghbi (<email address hidden>)
Branch: master

commit f36410ba18a2017b590087039518bd4cd7d5f923
Author: Robert Lyon <email address hidden>
Date: Thu Jun 30 11:13:08 2016 +1200

Bug 1597549: Ignore profile page in site pages share list

behatnotneeded

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

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

Patch for "16.04_STABLE" branch: https://reviews.mahara.org/6675

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

Reviewed: https://reviews.mahara.org/6675
Committed: https://git.mahara.org/mahara/mahara/commit/e36754b697ee6a99be781aa8f72302daf9e1ea2d
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.04_STABLE

commit e36754b697ee6a99be781aa8f72302daf9e1ea2d
Author: Robert Lyon <email address hidden>
Date: Thu Jun 30 11:13:08 2016 +1200

Bug 1597549: Ignore profile page in site pages share list

behatnotneeded

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

Robert Lyon (robertl-9)
Changed in mahara:
milestone: 16.10.0 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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