This is something I have been asking around for the past week without receiving any feedback but it is a serious bug. Here are the results of my testing:
Using RC-3
Fresh install of Ubercart 2 RC-3
Standard Conditional Action Settings
Product with Role assigned to purchase
When the above mentioned product is purchased using version RC-3, the buyer receives emails for account details, role granted notification and invoice. The admin receives the new order email.
Everything here works great, the user is granted a NEW role.
Using RC-6
Updated to Ubercart 2 RC-6
The same conditional actions as test with RC-3
The same product with role assigned to purchase with RC-3
I then updated to RC-6 according to the best practices for updating a module. Everything was kept the same. Same product details and the same conditional action settings.
When the same product is purchased with RC-6, the buyer receives emails for account details and the invoice. No email is sent to notify the buyer of a newly granted role. The admin receives the new order email.
The buyer for this order had a different email and username. Upon further investigation, the newly created user has had their role RENEWED instead of being granted a NEW role. Even though they didn't have the role prior to the purchase. This does not explain the lack of am email notification either as the standard settings email buyer's notification of renewed roles.
At this point I have no idea where the code went wrong for RC-6 and not being a seasoned programmer I haven't been able to come up with any ideas why.
*All I can suggest at this point is that anyone granting roles via Ubercart purchases should REMAIN ON RC-3.*


