Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
user system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Sep 2007 at 11:56 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
stella commentedping
Comment #2
roper. commentedI also need a fix for this. :-)
Comment #3
roper. commentedNothing..? Seems pretty important... :|
Comment #4
ricabrantes commentedIn D5.x-dev, if i upload a new avatar image, is are define but still in server. D6.x-dev, the old image is deleted..
Fixed in D6.x-dev
Comment #5
roper. commentedCool, but what about 5.x?
No one has a fix?
Comment #6
ricabrantes commentedI wrote a little patch for you.. please tell me if solved your problem..
Comment #7
magico commentedComment #8
ricabrantes commented@gstash: You test my patch??
Comment #9
drummThis issue does still exist in 6.x and HEAD and is reproducible with the original description- check Delete picture and upload a new picture.
Comment #10
roper. commentedWoah, forgot about this for a while... Sorry.
@ricabrantes: I tested, but to no avail. The problem is that the NEW picture is not uploaded when "delete picture" is also checked. So we need something like "if delete is checked AND a new picture is being added, simply overwrite with the new image"
Or something... Thanks though. :-)
Comment #11
Fixdit commentedThe patch attached here, does anyone know if it works? Needs to be a fix for this as it's pretty fundamental in any user led site.
Cheers!
Comment #12
stella commentedComment #13
stevenpatzhave you tested it?
Comment #14
dave reidRevised patch for 7.x that is tested and works.
Comment #15
dave reidComment #16
Fixdit commentedWill this work for 5.x? Is there something for 5.x? Cheers,
Beechyboy
Comment #17
dave reidComment #19
dave reidUpdating patch with a test to make sure this doesn't regress again. As of now, has 1 fail. Not sure why. Letting testing bot have a try.
Comment #20
Fixdit commentedWhat are users to do for now? Is there a hack or work around? I'm looking at using form_alter to unset("the delete checkox");
What do people think?
Comment #22
dave reid#357403: Move user picture to managed files has fixed this in D7, so moving back for D6.
Comment #23
dave reidBackports the improvements from #357403: Move user picture to managed files which got the ok from webchick in 7.x:
- User picture form cleanup
- Fixes #173493: User picture fixes and cleanup
Please help review and mark as RTBC if it's ready.
Comment #24
dave reidComment #25
Fixdit commentedLooking forward to backport to 5. How could I go about helping?
Comment #26
stevenpatzComment #27
dave reidNeeds to be '#value' => ...
Comment #28
Fixdit commentedSo in 5.x it should be... Right?
Comment #29
andypostSuppose it's enough to clean checkbox value if user picture was saved
Comment #30
andypostAnother cleanup, $form_state['values']['form_build_id'] is saved to data
Comment #31
andypostre-tagging
Comment #32
andypostRe-roll against current D6
Comment #33
andypostDave Reid, can you review this? I think this is a useful cleanup
Comment #34
andypostpatch still applies with offset
Comment #35
NROTC_Webmaster commentedre-rolled but assuming this will just be closed anyways.
Comment #36
dave reid