Register | Login  
 
Forum Minimize
SearchForum Home
     
  WorkControl-UserManager Module  Bugs Report or How-To-Use Questions  ModuleLoadExcep...
 ModuleLoadException when clicking to view profile
 
 9/26/2008 2:41:32 AM
robax
55 posts


ModuleLoadException when clicking to view profile

Hi Robert,

I'm having trouble with the latest UserManager 4.08.04 release. If I click on an icon to view any user's profile details, I get the exception pasted below.

I'm not sure if it was doing this in an earlier release because I haven't clicked on the icon for a while.

It happens from any account - I've tried it several times to see if I could pin it down further.

Any advice is appreciated

Rob

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0f367f77-e7b5-43f7-a333-3681893aa8e8
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Security.PortalSecurity.HasNecessaryPermission
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.PortalSecurity.HasNecessaryPermission(SecurityAccessLevel AccessLevel, PortalSettings PortalSettings, ModuleInfo ModuleConfiguration, UserInfo User) at DotNetNuke.Security.PortalSecurity.HasNecessaryPermission(SecurityAccessLevel AccessLevel, PortalSettings PortalSettings, ModuleInfo ModuleConfiguration) at WorkControl.DNN.Modules.UserManager.Utility.HasEditPermissions(ModuleInfo ModuleConfiguration) at WorkControl.DNN.Modules.UserManager.Profile.DataBind() at WorkControl.DNN.Modules.UserManager.ViewProfile.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

 9/27/2008 8:32:19 PM
support
298 posts
www.workcontrol.com
4th


Re: ModuleLoadException when clicking to view profile

Rob,

Thanks for reporting the bug.  I am working on the fix. 

Robert.


WorkControl Technical Support
 9/27/2008 11:57:40 PM
support
298 posts
www.workcontrol.com
4th


Re: ModuleLoadException when clicking to view profile

New version 04.08.06 contains the fix.  Check out the download page.

Robert.


WorkControl Technical Support
 9/28/2008 10:13:52 PM
robax
55 posts


Re: ModuleLoadException when clicking to view profile

Brilliant! You're the best!

One funny thing I've noticed in relation to this "view profile" icon..

I don't know exactly what the intended function of the "Show all profile data" option in the module settings is for, but I think it is meant to restrict the module to display or not display only the fields that have been set as visible in the portal profile settings.

If that is true, then there is something wrong with it, because when I view a user's profile by clicking on that icon, it always shows all profile fields.

The search dropdown also always shows all fields.

Is this as intended?

 

 10/10/2008 7:57:25 AM
support
298 posts
www.workcontrol.com
4th


Re: ModuleLoadException when clicking to view profile

DNN Core provides option for end user to specify profile fields to be visible/not visible  to login user or admin.  The "Show all profile data", if checked, will override user preference and display all fields on the view profile screen.  This feature is typically used in the intranet environment where the UserManager is used as contact list and seeing full profile is desired and not violating personal data protection.

 


WorkControl Technical Support
  WorkControl-UserManager Module  Bugs Report or How-To-Use Questions  ModuleLoadExcep...
Print