Hide default portfolio page site template from site pages sharing list

Bug #1599375 reported by Aaron Wells
6
This bug affects 1 person
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

This is like Bug 1597549, except for the Page template instead of the Profile template. The problem is that the the Page site template shows up in the list of shareable site pages. It shouldn't, because it's not meant to be viewed and used by users like a normal page; it's only meant to be used to set up the default blocks on a newly created portfolio page.

To replicate:

0. Clean install of Mahara
1. Log in to Mahara as an admin
2. Go to Administration -> Configure site -> Pages
3. Create a new page called "Page A"
4. Click the "Share page" link for Page A
5. On the "Edit access" screen, click in the "Pages" select2 box.

Expected result: The only option in the select2 box is "Page A".

Actual result: In the select2 box you see "Page A" and "Untitled" (which is the title of the default page template)

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

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

Reviewed: https://reviews.mahara.org/6660
Committed: https://git.mahara.org/mahara/mahara/commit/1bb7f3d58d57bf8a6b533b9930e312b108c62868
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 1bb7f3d58d57bf8a6b533b9930e312b108c62868
Author: Aaron Wells <email address hidden>
Date: Wed Jul 6 19:11:12 2016 +1200

Bug 1599375: Hide portfolio page site template from "Edit Access" screen

Change-Id: I4a50b3b1adc7d2ffb8d26414ae05c08c137ecc50
behatnotneeded: Test to come later

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

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

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

commit 880b170ec245a345b8cff0aa51fb417f61ac6f4e
Author: Aaron Wells <email address hidden>
Date: Wed Jul 6 19:11:12 2016 +1200

Bug 1599375: Hide portfolio page site template from "Edit Access" screen

Change-Id: I4a50b3b1adc7d2ffb8d26414ae05c08c137ecc50
behatnotneeded: Test to come later

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.

Other bug subscribers

Remote bug watches

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