Closed (fixed)
Project:
Avatar Approval
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2011 at 18:46 UTC
Updated:
16 May 2011 at 16:21 UTC
The first time a user uploads an avatar, the approval system works as intended. However, if a user tries to upload a new avatar after that, after the administrator approves it, the system will ignore the new picture and display the old one. Deleting the existing avatar doesn't help either.
Comments
Comment #1
white_pawn commentedAnyone?
Comment #2
dalad commentedThis is not at all the beaviour I am experiencing with that same version. This could be a problem related to image caching, browser caching or anything else but avatar approval module
Comment #3
dalad commentedComment #4
white_pawn commentedIt's definitely an ImageCache problem. After I flushed the cache, the new avatar was there. Now, why is it that without Avatar Approval, changing avatars works out of the box?
EDIT: I see now that line 631 (avatarapproval.module) says:
EDIT#2: The following line (#632) did the trick for me:
imagecache_image_flush($picture);Comment #5
white_pawn commentedComment #6
dalad commentedok I'll take a look at this imagecache integration
Comment #7
dalad commentedfixed in the latest dev. Thanks for reporting
EDIT: it seems there is a sync problem with the packaging script and the fix does not show up in the downloadable dev at this time. I'll see what can be done to solve this issue