Skip to Content
0

Event not triggered when changing Customer's Email

Dec 14, 2016 at 01:55 PM

106

avatar image

Hi,

I have created the ABSLs 'BeforeSave' and 'AfterModify' for the Customer.AddressInformation node, but when I only change and save the email address none of those events are triggered.

I realised that BeforeSave is only triggered when an address is added/created and not when is modified.

Is this a bug? Is there any reason?

Thanks,
Alejandro Cordero.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Saurabh Kabra
Dec 15, 2016 at 01:04 PM
0

Hi Alejandro,

I tried the same scenario at my system and found that upon changing the Email address instead of events from "AddressInformation" node, evnts from ROOT node are triggering(AfterModify/BeforeSave).

So please check if you can write your code at AfterModify/BeforeSave.

Thanks

Saurabh

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Saurabh,

Yes, I already have my code in the ROOT node - BeforeSave and it works, but, Why AfterModify/BeforeSave are not triggered when I change the Address as I would expect?

Thanks,
Alejandro Cordero.

0
Saurabh Kabra
Dec 15, 2016 at 02:40 PM
0

Hi Alejandro,

I agree with your point but this is how the system behaves. May be someone from product development team can put some light on this.

Thanks

Saurabh

Share
10 |10000 characters needed characters left characters exceeded