Copied to clipboard

Flag this post as spam?

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


  • Wouter 3 posts 23 karma points
    Dec 24, 2013 @ 16:00
    Wouter
    0

    Clean Umbraco 7.0.1 Membership profile

    Dear all,

    Today I've set up a clean 7.0.1 and tried to migrate my current 6 to it.
    So far it works like a charm.

    Then I started trying the functionality out and figured out that old umbraco profile methods are not working anymore.

    [code]

    var memberType = new MemberType(1044); //id of membertype ‘member’
    Member newMember = Member.MakeNew(model.ContactName, memberType, new User(0));
    newMember.Email = model.EmailAddress;

    newMember.ChangePassword(model.Password);
    newMember.getProperty("address").Value = model.Address; // Also added to web.config & umbraco admin
    newMember.getProperty("city").Value = model.City; // Also added to web.config & umbraco admin
    newMember.Save();
    [/code]

    Nothing is saved in the database.

    Am I doing something wrong? It worked perfectly in the old Umbraco 6 version.

    Thanks in advance for your help!

  • Bjarke Petersen 15 posts 113 karma points
    Mar 26, 2014 @ 14:43
    Bjarke Petersen
    0

    Hi Wouter,

    Did you ever figure this out ?

    I can't save the properties either (7.0.4) - and it is driving me crazy

     

     

     

     

  • Wouter 3 posts 23 karma points
    Mar 26, 2014 @ 15:09
    Wouter
    0

    Dear Bjarke,

    I still haven't figured it out yet. Seems to be a Umbraco 7 problem.

    Hope someone from the Umbraco dev team can look into it!

  • Dan 43 posts 72 karma points
    Mar 26, 2014 @ 15:54
    Dan
    0

    Can you not upgrade to 7.1 to get all the lovely new MemberService stuff?

  • Tom Van Rompaey 38 posts 136 karma points
    Mar 26, 2014 @ 16:01
    Tom Van Rompaey
    0

    This problem is fixed since umbraco 7.0.2

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

  • 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