Reviewed & tested by the community
Project:
Signup Status
Version:
6.x-1.x-dev
Component:
Signup status mailer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2010 at 17:36 UTC
Updated:
9 May 2012 at 00:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
ccrackerjack commentedI have tested and having the same bug/problem.
subscribing
Comment #2
ln282 commentedI've found what's causing the problem, but haven't nailed down the right solution yet. The issue is that the if statement in signup_status_alter_signup_edit_form_submit that is supposed to test whether or not the status has been changed isn't working correctly, and _signup_status_change('update', $signup) is never called, even if the status has been changed.
Because I'd rather send too many emails than none at all, I've commented out the if-statement so that _signup_status_change('update', $signup) gets called every time.
I'm working on a better solution, and I'll post when I figure it out.
Comment #3
teliseo commented@ln282: The problem is that signup_status_signup_data_alter() was clobbering the old value before signup_status_alter_signup_edit_form_submit() is called. The attached patch does the right thing and fixes this bug, regardless of the call order.
Comment #4
jlbellido#3 it works! thanks @teliseo :D
Comment #5
xaa commentedmany thanks ! #3 working