When you try to "withdrawal" a player (who has a user account) from a roster no email is sent. However, the player is successfully removed from the roster.

The error displayed at the top of the page is
"Unable to send e-mail. Please contact the site administrator if the problem persists."

-----
When trying to "withdrawal" a player who doesn't have a user account from a roster a "page not found" error is displayed.

the URL of the page not found is ....
"http://domainname.com/ult/team/461/roster/invites/withdrawemailinvite/TT"

----

These aren't huge issues just thought I'd mention them.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jthorson’s picture

Assigned: Unassigned » jthorson
Issue tags: +ult_rosters

Missing a condition in the _ult_rosters_op_load($op) function to handle the 'withdraw email invite' scenario.

Fix: Modify line 223/224 of ult_rosters.module

Before:

if ($op=="acceptinvite" || $op=="rejectinvite" || $op=="withdrawinvite" || $op=="deleteinvite" || $op=="removeinvite" 
  || $op=="acceptapp" || $op=="rejectapp" || $op=="withdrawapp" || $op=="deleteapp" || $op=="removeapp") {

After:

if ($op=="acceptinvite" || $op=="rejectinvite" || $op=="withdrawinvite" || $op=="deleteinvite" || $op=="removeinvite" 
  || $op=="acceptapp" || $op=="rejectapp" || $op=="withdrawapp" || $op=="deleteapp" || $op=="removeapp" || $op=="withdrawemailinvite") {
jthorson’s picture

Status: Active » Needs review
FileSize
732 bytes

Adding Patch which reflects above change.

jthorson’s picture

Status: Needs review » Fixed

Fix committed to master repository. Please re-open if you feel the issue has not been addressed.

Status: Fixed » Closed (fixed)
Issue tags: -ult_rosters

Automatically closed -- issue fixed for 2 weeks with no activity.