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...
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.
Continue discussion
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...
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.