mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #53144
[Bug 1826795] A change has been merged
Reviewed: https://reviews.mahara.org/9904
Committed: https://git.mahara.org/mahara/mahara/commit/345d6e348c2bee4ab5e80e585c27970164fea4eb
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: 19.04_STABLE
commit 345d6e348c2bee4ab5e80e585c27970164fea4eb
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date: Mon Apr 29 13:13:47 2019 +1200
Bug 1826795: block content in group/institution pages should always be
displayed
behatnotneeded
Change-Id: I0ad0e632dbb3a2cf26cda321d0ec0a550b579d02
(cherry picked from commit 59cf4d2417478be886a8f750c12fff7d710110eb)
--
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/1826795
Title:
group/institution page error when rendering a block
Status in Mahara:
Fix Committed
Bug description:
steps:
1. Create a group / institution / site page
2. Add a block
3. Make it copyable.
4. Log in as another user
5. Click the page title
Expected result: Page is shown./
Actual result: Error is shown.
Error message:
[WAR] 9f (auth/user.php:849) Invalid argument pass to is_admin_for_user method
Call stack (most recent first):
User->is_admin_for_user(null) at /home/kristina/code/mahara/htdocs/blocktype/lib.php:1182
BlockInstance->render_viewing(false, false) at /home/kristina/code/mahara/htdocs/lib/view.php:2330
View->build_column(1, 2, false, false, false) at /home/kristina/code/mahara/htdocs/lib/view.php:2280
View->build_columns(1, false, false, false) at /home/kristina/code/mahara/htdocs/lib/view.php:2265
View->build_rows() at /home/kristina/code/mahara/htdocs/view/view.php:338
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1826795/+subscriptions
References