Site pages and collections : Page template become unavailable after changing settings
Bug #1824767 reported by
Luc Stavaux
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
18.04 |
Fix Released
|
High
|
Unassigned | ||
18.10 |
Fix Released
|
High
|
Unassigned | ||
19.04 |
Fix Released
|
High
|
Unassigned | ||
19.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
Hello,
I use Mahara.18.10.0 on ubuntu 18.10, php7.3, apache2 and Postgres 10.7.
When I edit the settings of the page template in the site pages and collections's menu, the page template become unavailable.
More precisely, this bug (i think it's a bug but i'm not sure) append when I want to disable the comments in the Share's settings. When I save this modification, the page template is no more a template. I made a little video to show the bug.
To correct this problem, I must restore an old version of the database (postgresql).
Is it a bug ?
Is it a way to disable the comment block in the page template ?
Thanks,
Luc
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → High |
To post a comment you must log in.
A site template (Dashboard template, Group homepage template, Profile template and Page template) should not have the edit access section enabled.
To fix this we have to: .php' of 'view/access.php' with one of the site templates view ids
1. Remove the "Share" button at the top right of the edit block for those 4 site templates.
2. Throw exception if we want to access 'view/accessurl