Need to update group 'shared with me' block config values on upgrade 15.04+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
15.04 |
Won't Fix
|
Undecided
|
Robert Lyon | ||
15.10 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In pre 15.04 versions Group homepages have a 'Group pages' block showing the pages that are shared with the group (a yes/no option). This includes pages by members and non-members alike.
After upgrade to 15.04+ there was a new option added so that we have:
* None
* By members of this group
* By anybody
But the problem is we added the new option, By members of this group, to the '1' value (the same as 'yes' before) rather than to the 'by anybody' option (which is '2').
This means on upgrade any pages shared by non-members stop showing up on the shared list for this block.
We need to run an upgrade for the group homepages to make any 'Display shared pages' that were set to 'yes' before hand to be set to 'by anybody' so that the same display rules are preserved.
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/5204