Copied to clipboard

Flag this post as spam?

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


  • SSA Backend 108 posts 640 karma points
    Sep 08, 2016 @ 10:32
    SSA Backend
    0

    New fields lead to crash in a profile of member

    I have added new fields to a member profile. After this I am trying to setup value for this property and umbraco default method raises exception "key not found" only for existing users.

    IMember profile = memberService.GetByUsername(userData.Email);
    profile.SetValue("facebookUserId", userData.Id);
    memberService.Save(member); // raise the error
    

    What is a proper way of adding new fields?

    enter image description here

  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    Sep 08, 2016 @ 11:36
    Damiaan
    0

    Are you sure this is not a member of MemberType "Sample"?

  • SSA Backend 108 posts 640 karma points
    Sep 08, 2016 @ 12:18
    SSA Backend
    0

    Yes, it's not used.

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Sep 08, 2016 @ 12:19
    Dan Diplo
    101

    Which version are you using? 7.5.3 was just released that has a fix for an issue around member properties:

    https://our.umbraco.org/contribute/releases/753

    http://issues.umbraco.org/issue/U4-8923

  • SSA Backend 108 posts 640 karma points
    Sep 08, 2016 @ 12:59
    SSA Backend
    0

    Update has resolved our issues. Thank you very much!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies