I am experiencing a strange issue with the MemberService.Saved event within Umbraco 7.1.4.I am using the following code within the event:
foreach (var node in e.SavedEntities) { if ((node.ContentType.Alias == "School") && (node.IsApproved) && (!node.Trashed) && (node.IsNewEntity())) {
The issue I am having is that if I create a member via the back-end then this event gets called twice. Firstly it passes in an entity which has the name set to whatever email address was entered, it then gets called again passing in an enitity with the correct name supplied to the member via the back-end.
Has anyone experienced a similar issue as this or has any idea why this might be happening?
MemberService.Saved
Hi,
I am experiencing a strange issue with the MemberService.Saved event within Umbraco 7.1.4.I am using the following code within the event:
The issue I am having is that if I create a member via the back-end then this event gets called twice. Firstly it passes in an entity which has the name set to whatever email address was entered, it then gets called again passing in an enitity with the correct name supplied to the member via the back-end.
Has anyone experienced a similar issue as this or has any idea why this might be happening?
- Graham
is working on a reply...