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.
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!
Hi Wouter,
Did you ever figure this out ?
I can't save the properties either (7.0.4) - and it is driving me crazy
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!
Can you not upgrade to 7.1 to get all the lovely new MemberService stuff?
This problem is fixed since umbraco 7.0.2
http://issues.umbraco.org/issue/U4-4005
is working on a reply...