Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Serious issue with user profile imagesSerious issue with user profile images
Previous
 
Next
New Post
9/29/2011 10:42 PM
 
Hey All,

Looking to see if anyone else can verify this issue . . .

We have been getting complaints that some user profile images are disappearing after a user has set them.

Its taken a while to get to the bottom of what was happening because it seemed totally random.

BUT HERE IS WHAT WE FOUND 

DNN 6.0.1.

Login as user  "a" 
go to User Profile - upload and select a profile image.

Logoff 

Login as user "a"
go to User Profile - and verify that the profile image is still there.

NOW login as ADMIN

go to Admin - User Accounts

Edit user "a"  -  there is NO - profile image showing 

DO NOT HIT UPDATE  

Logoff

Login as user "a"
go to User Profile - and the profile image is still there.

Logoff

Login as ADMIN 

go to Admin - User Accounts

Edit user "a"  -  there is NO - profile image showing 

ALSO the DROPDOWN is empty -  if you hit UPDATE at this stage
and log back into user "a"  - the profile image will be gone.

===========================================================

So why is this happening ?

The reason is because there is a BUG in the DNN:FilePicker  when you set  the  UsePersonalFolder  flag.

What is happening is that this flag is using   UserController.GetCurrentUserInfo()  as the source of the user path.

This is OK when you are in a NORMAL user profile -  BUT when you are logged in as ADMIN - the DNN:FilePicker is trying to use the ADMIN user path - the user that's returned from GetCurrentUserInfo   -  INSTEAD of the user that is currently being edited.

=====

The dnnFilePicker needs to be changed to include the ability to pass in a UserInfo property that points to the user being EDITED - instead of the currently logged in user.

And the User Profile Editor updated to pass in the UserInfo for that user to the dnnFilePicker whenever you are in  ADMIN user manager mode.

Westa


 
New Post
9/29/2011 10:54 PM
 
Thanks Westa, thats some good detective work (as usual) - i would suggest you log it as we've had similar reports (but only anecdotally) displaying the same symptoms but noone identified a valid set of steps to reproduce so it's never been fixed.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/29/2011 11:02 PM
 
Logged - was definitely one of those - oh of course - once you see it bugs - but until then  . . .

Cheers

Westa
 
New Post
9/30/2011 1:06 PM
 
Awesome detective work, thank you!

Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
9/30/2011 1:46 PM
 
I have logged an issue in this area
http://support.dotnetnuke.com/issue/V...

But my impression is that noone reads the issues any longer and if someone does he/she does not understad the issue.
I have stopped logging issues. If I dont get a respons for a month or two why should I care then.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Serious issue with user profile imagesSerious issue with user profile images


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out