Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Just upgraded from 7.1.8 to 7.2.0 release
Have a bit of code in the OnLoad method of a User Control
if (HttpContext.Current.User.Identity.IsAuthenticated) {
var currentMember =umbraco.cms.businesslogic.member.Member.GetCurrentMember();
This worked fine before but after upgrade the GetCurrentMember returns null ...
Hi Tom
When you did the upgrade did you then read and follow the instructions from http://our.umbraco.org/contribute/releases/720?
It says that
"Note that the only significant config file change is that the UmbracoMembershipProvider, UsersMembershipProvider and UmbracoRoleProvider have been updated in the web.config."
Could that be the issue?
/Jan
Hi Jan
thanks for your reply, but that info is between versions 7.0.x and 7.2.0 not 7.1.x and 7.2.0.
I did merge my web.configs but there is very little difference between 7.1.8 and 7.2.0.
Ah yes, you're right - I misread that totally.
Might be a good idea to report this on this issue tracker then.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
umbraco 7.2 problem with GetCurrentMember
Just upgraded from 7.1.8 to 7.2.0 release
Have a bit of code in the OnLoad method of a User Control
if (HttpContext.Current.User.Identity.IsAuthenticated) {
var currentMember =umbraco.cms.businesslogic.member.Member.GetCurrentMember();
This worked fine before but after upgrade the GetCurrentMember returns null ...
Hi Tom
When you did the upgrade did you then read and follow the instructions from http://our.umbraco.org/contribute/releases/720?
It says that
"Note that the only significant config file change is that the UmbracoMembershipProvider, UsersMembershipProvider and UmbracoRoleProvider have been updated in the web.config."
Could that be the issue?
/Jan
Hi Jan
thanks for your reply, but that info is between versions 7.0.x and 7.2.0 not 7.1.x and 7.2.0.
I did merge my web.configs but there is very little difference between 7.1.8 and 7.2.0.
Hi Tom
Ah yes, you're right - I misread that totally.
Might be a good idea to report this on this issue tracker then.
/Jan
is working on a reply...