avatar_selection loses all avatars.

nbz - February 26, 2008 - 18:45
Project:Avatar Selection
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi

I have avatar selection set up, but I seem to randomly lose all images that have been uploaded - those uploaded by users (through the normal procedure and end up in "pictures" by default) are not deleted, but those that aer added to avatar_selection (and go to the avatar_selection folder) are deleted. Looking at the webfolder, it is empty.

I am not sure when, but there is a chance this happens every cron run.

#1

stella - February 27, 2008 - 12:47
Status:active» fixed

Sorry, this was due to a change in how uploaded files are handled in D6. The attached patch should hopefully fix this issue for you.

Cheers,
Stella

AttachmentSize
avatar_selection_227089.patch 1.3 KB

#2

nbz - February 27, 2008 - 14:00

Thanks.

#3

jancici - March 5, 2008 - 17:30

thanks, that patch did help to me too.

#4

stella - March 7, 2008 - 17:00

Released in avatar selection 6.x-1.2.

Cheers,
Stella

#5

Anonymous (not verified) - March 21, 2008 - 17:12
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#6

nbz - April 17, 2008 - 18:52
Status:closed» active

I am still losing avatars - not all of them at once, but a few randomly here and there.

The avatar selection module still lists them, and they are also there in the files database table, but not there on the webserver.

#7

stella - April 17, 2008 - 21:34

Can you send me your avatar selection settings please? Are you using public or private file downloads by the way?

#8

nbz - April 17, 2008 - 23:11

Public file downloads.

As for settings, none of the boxes on the admin/settings/avatar_selection page are ticked. Avatars are available to all roles.

I may have figured out how to reproduce this - it seems that there is a clash with allowing people to upload their own avatars (Drupal core function).

how to reproduce:

1. Select avatar via avatar selection, save.
2. change your mind, upload an avatar from the "upload picture" box.
3. Change you mind again - try to upload new picture. Get an error that files/ does not exist or pictures folder not writable (That is probably a core bug)
4. Click delete. This deleted the image that was selected in step 1, not 2.
5. Upload a new picture. The picture uploaded in step 2 is seen, not the new one.

EDIT - number 4 and 5 have been changed.

EDIT 2 - I suppose only step 4 is a avatar_selection bug. The rest is probably Core?

#9

stella - April 21, 2008 - 09:09
Status:active» needs review

That issue with about the file not existing was actually an avatar selection bug. It may be related to the problems you're seeing. Try the attached patch or the next dev release (available later today).

Cheers,
Stella

AttachmentSize
avatar_selection_227089_part2.patch 1.74 KB

#10

stella - April 21, 2008 - 09:11

Marked #244791: Avatars quit working as a duplicate of this issue.

#11

stella - April 28, 2008 - 20:43
Status:needs review» fixed

Released in 6.x-1.3.

Cheers,
Stella

#12

Anonymous (not verified) - May 12, 2008 - 20:44
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#13

etcetera9 - July 29, 2009 - 09:36
Status:closed» active

Sorry, I am using version 1.6 but some of the avatars disappear... I tried to set file permissions to read only, didnt have chance to test yet...

Cheers,

Sinan

#14

stella - July 29, 2009 - 18:14
Status:active» closed

Sounds like your particular issue is the same as #432474: Avatar disappearing from the selector. Closing in favour of that one.

 
 

Drupal is a registered trademark of Dries Buytaert.