Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On a fresh install, i created 2 profile types (one and two) and 2 registration steps (first and second). Profile "one" is assigned to step "first" and profile "two" is assigned to step "second". When the registration is complete, i receive 2 mails (duplicates) of the registration process. The account creation setting is on "Visitors, but administrator approval is required". If i switch it to "Visitors", i receive only one mail.
How can i fix the mail duplication?
Comment | File | Size | Author |
---|---|---|---|
#2 | multiple_registration-2265459-2.patch | 1.79 KB | purushotam.rai |
Comments
Comment #1
iaminawe CreditAttribution: iaminawe commentedI can confirm this problem - any help would be greatly appreciated. Its the last bug I have to squish before launching this site.
Thanks in advance for any advice, patches or suggestions
Comment #2
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedHi guys,
I tried debugging the cause of this issue and after some efforts i found that after solving #2504791: Step's overwrites submit handlers from other modules (including LoginToboggan) issue, the submit handler functions have been arranged properly and hence we just now do not need to trigger mail explicitly from step module so removing the alters performed and mail trigger action from the step module solved the problem.
I have tested this patch and it works fine for me. It would be very great if someone else also tests it asap.
Would be releasing new stable version of Step Module soon.
Thanks,
Purushotam
Comment #3
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedComment #4
sumitmadan CreditAttribution: sumitmadan at QED42 commentedLooks good to me. :)
Comment #6
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedCode pushed at 7.x-1.x Dev Branch. If no issues found further would be releasing 7.x-2.x stable release very soon as this is the last bug of the module as of now.
Comment #7
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedComment #8
purushotam.rai CreditAttribution: purushotam.rai at QED42 commented