To test when upgrading from version 1.9 or below:

Set up a 1.9 site with two users, A and B

1) Log in as User A and create a group, Group A

2) Log in as User B and create three pages, Page 1, Page 2, and Single
page - Place page 1 and 2 into a collection, Collection 1

3) Have User B share the Collection 1 and Single page with Group A - do
this via the 'Share with other users and groups' search option.

4) Log back in as User A and view the group home page - you should see
all three pages listed under the 'Pages shared with this group by
others' section.

5) Upgrade the site master and check the Group A home page - the pages
will not be listed

6) Check out the patch 5204 and run the upgrade on the admin/index.php
page and then re-check the Group A home page

The pages should be listed again where Collection 1 is listed under the
'Collections shared with this group' sub header and the Single page
under the 'Pages shared with this group' sub header.


To test when upgrading from version 1.10:

Set up a 1.10 site and follow the first 4 steps from the above
instructions. Then edit the group homepage so that either one of the
pages or collections are set to 'off'.

Then do step 5 and 6 from above.

You should only see listed on the group homepage the option that you did
not set to 'off'

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1491639

Title:
  Need to update group 'shared with me' block config values on upgrade
  15.04+

Status in Mahara:
  In Progress
Status in Mahara 15.04 series:
  In Progress

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.

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to