Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Graham Carr 277 posts 389 karma points
    Jul 23, 2014 @ 15:07
    Graham Carr
    0

    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:

                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?

    - Graham

Please Sign in or register to post replies

Write your reply to:

Draft