← Back to team overview

mahara-contributors team mailing list archive

[Bug 1985857] [NEW] If a portfolio is shared and made copyable then it's page theme disappears

 

Public bug reported:

It is due to the change in 
https://reviews.mahara.org/c/mahara/+/4064/12/htdocs/lib/view.php#5990

To replicate: 
1) Turn on allow page themes in Admin -> Settings under the Accounts section
2) Create a page and in Advanced settings give is a theme, say modern
View the page - it should have theme showing

3) Share the page with someone else and set allow copying to be true
View the page - the theme is not showing now

The change was added in relation to site templates but effects other
pages made copyable too

What we need is to also check that the view is owned by a
site/institution and/or the person is allowed to choose themes is on/off
and who is viewing it

Owner viewing own page should always be able to see the theme.

** Affects: mahara
     Importance: Medium
         Status: Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
    Milestone: None => 22.10.0

** Changed in: mahara
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1985857

Title:
  If a portfolio is shared and made copyable then it's page theme
  disappears

Status in Mahara:
  Confirmed

Bug description:
  It is due to the change in 
  https://reviews.mahara.org/c/mahara/+/4064/12/htdocs/lib/view.php#5990

  To replicate: 
  1) Turn on allow page themes in Admin -> Settings under the Accounts section
  2) Create a page and in Advanced settings give is a theme, say modern
  View the page - it should have theme showing

  3) Share the page with someone else and set allow copying to be true
  View the page - the theme is not showing now

  The change was added in relation to site templates but effects other
  pages made copyable too

  What we need is to also check that the view is owned by a
  site/institution and/or the person is allowed to choose themes is
  on/off and who is viewing it

  Owner viewing own page should always be able to see the theme.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1985857/+subscriptions



Follow ups