← Back to team overview

mahara-contributors team mailing list archive

[Bug 1832308] Re: Cannot toggle Group's Open button

 

BUG SUMMARY: Create a closed Group then go back and change to open group
-  tested with isolated institutions turned on and turned off.

==============================================

Commit hash: 53d7eb7a458d7613eac1edf2ffa328fa44c0113c
Environment tested: Master
Browser tested: Chrome
Theme used:  Raw | Default raw | Ocean | Modern | Primary school 

PRECONDITIONS: 
------------------------ 
1) $cfg->isolatedinstitutions = true; has been added to the config.php file 
2) Institution exists (Institution One) 

TEST STEPS: 
------------------------ 
1) Log in as Site admin
2) Created a group with the following settings:
• Group name = 1904 Upgrade Test G2
• Associate with Institution = Inst1
• Group homepage URL = 1904-upgrade-test-g2
• Open = No
• Controlled = Yes
• Request = Yes
• Roles: Course: Member, Tutor, Admin
• Friend Invitations: No
• Recommendations = No
• Create and edit = All group members
• Allow submissions = Yes
• Allow archiving of submissions = Yes
• Publicly viewable group = Yes
• Hide group = No
• Hide membership = Hide members
• Hide membership from members = No
• Participation report = Yes
• Auto-add users = No
• Shared page notifications = All group members
• Comment notifications = All group members
• Send forum posts immediately = Yes
3) Save the group settings.
4) Come back into the group settings page 
5) Verify the Open button is enabled and user can click the button to toggle it to yes and no  ✔
6) Click the button to Yes 
7) Verify that the "Request" is switched to "No" and is disabled ✔

NOTE: Run the above script with code line - $cfg->isolatedinstitutions =
false; added to the config.php file


Catalyst QA Approved ✔

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

Title:
  Cannot toggle Group's Open button

Status in Mahara:
  In Progress
Status in Mahara 19.04 series:
  Confirmed
Status in Mahara 19.10 series:
  In Progress

Bug description:
  Mahara: 19.04.0
  OS: Linux 16.04
  DB: Postgres
  Browser: Firefox

  * Prerequiste: create an institution (Inst1) other than Mahara.

  * Created a group with the following settings:

  Group name = 1904 Upgrade Test G2
  Associate with Institution = Inst1
  Group homepage URL = 1904-upgrade-test-g2
  Open = No
  Controlled = Yes
  Request = Yes
  Roles: Course: Member, Tutor, Admin
  Friend Invitations: No
  Recommendations = No
  Create and edit = All group members
  Allow submissions = Yes
  Allow archiving of submissions = Yes
  Publicly viewable group = Yes
  Hide group = No
  Hide membership = Hide members
  Hide membership from members = No
  Participation report = Yes
  Auto-add users = No
  Shared page notifications = All group members
  Comment notifications = All group members
  Send forum posts immediately = Yes

  * Save the group settings.

  * Come back into the group settings page, the Open button is disabled
  - i.e. click on Controlled = No - should toggle the Open button on.

  Current Behaviour: Open button remains disabled
  Expected Behavious: Open button should be enabled.

  This will need to be tested with isolated institutions turned on and
  turned off. Isolation should not force the "open" option to be
  unavailable as only site admins can set up public groups when
  isolation is turned on and they can decide whether the group is to be
  open or not.

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


References