secret URL sharing shows error when accessed as loggedout user

Bug #1795977 reported by Cecilia Vela Gurovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Cecilia Vela Gurovic

Bug Description

Steps to replicate:

- Create a page
- Click on Share and create a new secret URL
- Copy the link and logout
- Access the URL
- Refresh the page
Expected result: The empty page is displayed
Actual result:
We see error

When I share the page via secret URL, I get the following error message:

[WAR] 0f (view/view.php:489) Undefined variable: notrudeform
Call stack (most recent first):
log_message(string(size 31), integer, true, true, string(size 51), integer) at /home/kristina/code/1810stable/htdocs/lib/errors.php:521
error(integer, string(size 31), string(size 51), integer, array(size 113)) at /home/kristina/code/1810stable/htdocs/view/view.php:489
[WAR] 0f (view/view.php:490) Undefined variable: stillrudeform
Call stack (most recent first):
log_message(string(size 33), integer, true, true, string(size 51), integer) at /home/kristina/code/1810stable/htdocs/lib/errors.php:521
error(integer, string(size 33), string(size 51), integer, array(size 113)) at /home/kristina/code/1810stable/htdocs/view/view.php:490

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

Changed in mahara:
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/9175
Committed: https://git.mahara.org/mahara/mahara/commit/840b1d04a43fff546861596a8a5066225aa33fc3
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 840b1d04a43fff546861596a8a5066225aa33fc3
Author: Cecilia Vela Gurovic <email address hidden>
Date: Thu Oct 4 10:15:33 2018 +1300

Bug 1795977: notrudeform not defined for logged out users

behatnotneeded

Change-Id: Ic6f1d0aaec7e8722a81860d01cc74b2d254968da

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

Patch for "18.10_STABLE" branch: https://reviews.mahara.org/9178

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

Reviewed: https://reviews.mahara.org/9178
Committed: https://git.mahara.org/mahara/mahara/commit/dc64a0fe8f21b6b370ad136434332caefa476d75
Submitter: Robert Lyon (<email address hidden>)
Branch: 18.10_STABLE

commit dc64a0fe8f21b6b370ad136434332caefa476d75
Author: Cecilia Vela Gurovic <email address hidden>
Date: Thu Oct 4 10:15:33 2018 +1300

Bug 1795977: notrudeform not defined for logged out users

behatnotneeded

Change-Id: Ic6f1d0aaec7e8722a81860d01cc74b2d254968da
(cherry picked from commit 840b1d04a43fff546861596a8a5066225aa33fc3)

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

Other bug subscribers

Remote bug watches

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