Pagination on "My portfolios" doesn't work when profile page is shared publicly

Bug #1716279 reported by Kristina Hoeppner on 2017-09-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Status tracked in 17.10
16.10
High
Unassigned
17.04
High
Unassigned
17.10
High
Cecilia Vela Gurovic

Bug Description

When your portfolio page and a minimum of 11 of your portfolios are shared publicly, the pagination on the "My portfolios" block on the profile page doesn't take you to the second page, but only gives the message "Reload to log in".

The pagination works fine when the user is logged in and navigates through the pagination.

To replicate:

1. Create 12 pages and set them as well as your profile page to "Public".
2. Copy the link to your profile page.
3. Log out or open a private browser window and go to the profile page.
4. Click the "2" in the pagination.

Expected result: You get to the remaining portfolios.
Actual result: The pagination doesn't change the pages and you stay on the first page.

Once a fix has been implemented, you'll also need to check the pagination when logged in (with another user) and confirm that it still works.

Reviewed: https://reviews.mahara.org/8026
Committed: https://git.mahara.org/mahara/mahara/commit/35f3d2dcd872124e1f1fdb75a18b921c94ac246a
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 35f3d2dcd872124e1f1fdb75a18b921c94ac246a
Author: Cecilia Vela Gurovic <email address hidden>
Date: Tue Sep 19 09:32:18 2017 +1200

bug 1716279: myviews blocktype public access

Added permissions to use json in public views
that include myviews blocktype, so the pagination
won't break when the block has more than 10 views

behatnotneeded

Change-Id: I8b96020729cc5cd0f3a34be7013155e2965c3ec2

Mahara Bot (dev-mahara) wrote :

Patch for "16.10_STABLE" branch: https://reviews.mahara.org/8047

Reviewed: https://reviews.mahara.org/8046
Committed: https://git.mahara.org/mahara/mahara/commit/166ce62f83535a87a6eb6b34ce8af62142d29e64
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.04_STABLE

commit 166ce62f83535a87a6eb6b34ce8af62142d29e64
Author: Cecilia Vela Gurovic <email address hidden>
Date: Tue Sep 19 09:32:18 2017 +1200

bug 1716279: myviews blocktype public access

Added permissions to use json in public views
that include myviews blocktype, so the pagination
won't break when the block has more than 10 views

behatnotneeded

Change-Id: I8b96020729cc5cd0f3a34be7013155e2965c3ec2
(cherry picked from commit 35f3d2dcd872124e1f1fdb75a18b921c94ac246a)

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/8047
Committed: https://git.mahara.org/mahara/mahara/commit/a3aa472683d30b1a9e0c7fd899c4b20e7666109a
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE

commit a3aa472683d30b1a9e0c7fd899c4b20e7666109a
Author: Cecilia Vela Gurovic <email address hidden>
Date: Tue Sep 19 09:32:18 2017 +1200

bug 1716279: myviews blocktype public access

Added permissions to use json in public views
that include myviews blocktype, so the pagination
won't break when the block has more than 10 views

behatnotneeded

Change-Id: I8b96020729cc5cd0f3a34be7013155e2965c3ec2
(cherry picked from commit 35f3d2dcd872124e1f1fdb75a18b921c94ac246a)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers