Group invite reason got lost

Bug #1965079 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Veronica Varsha David Raj

Bug Description

When you invite someone via their profile page, you can enter a reason for them to join the group. That used to be added to the notification they received. However, that is not the case any more and only a generic notification is sent.

To replicate:

1. Create a group.
2. Go to somebody else's profile page.
3. Invite them to the group.
4. Fill in a reason.

Results:
- Expected: The reason shows up in the notification.
- Actual: It doesn't.

The current notification (replicated is the plain text one, but if an HTML one exists) is:

DISPLAYNAME (function) OF GROUP ADMIN has invited you to join a group, 'GROUPTITLE'. Click on the link below
for more information.

See http://DOMAIN/group/view.php?id=1

Suggested updated notification
---------------------------------

Hi FIRSTNAME,

I'd like to invite you to join the group 'GROUPTITLE'.

[This section only if a reason was given] My reason is:

{add the reason that was provided}

Go to http://mahara.anitsirk.wgtn.cat-it.co.nz/group/view.php?id=1 to accept or decline this invitation.

Thank you
DISPLAYNAME OF GROUPADMIN who invited the person

tags: added: bite-sized
Changed in mahara:
assignee: nobody → Veronica Varsha David Raj (veronicavarsha)
Robert Lyon (robertl-9)
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/13126
Committed: https://git.mahara.org/mahara/mahara/commit/b4d54e0783909c1537376e750b41fade5290c8dc
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit b4d54e0783909c1537376e750b41fade5290c8dc
Author: veronicavarsha <email address hidden>
Date: Thu Sep 1 13:22:42 2022 +1200

Bug #1965079: Fix for the reason getting lost in group invite email

Signed-off-by: veronicavarsha <email address hidden>
Change-Id: I0cb701f95aacb1602def493b4ef2b83612dc7217

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Doris Tam (doristam)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.