I can fine upload an image, but when i then edit the user and press save it deletes the image.
So i have to edit the user again and upload the picture.

CommentFileSizeAuthor
#3 profile_pictures.patch886 bytesyeputons
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

falkendk’s picture

HTML after upload:
< img alt="Alt text" src="/sites/default/files/pictures/user-3-profile_portrait.png?6f1a995b23fa6fb85548345654d9dc4b">

HTML after edit
< img alt="Alt text" src="/">

aaronortega’s picture

Same here. When updating profile the image is deleted. Using patched version with one page profile

yeputons’s picture

Status: Active » Needs review
FileSize
886 bytes

aaronortega: thank you very much, because this bug occurs only when One Page Profile is active.
Patch is attached.
Please test it and post here result of testing

yeputons’s picture

Title: Deleting image » Image is deleting when saving non-picture fields (used with One Page Profile)
yeputons’s picture

Title: Image is deleting when saving non-picture fields (used with One Page Profile) » Image is being deleting when saving non-picture fields (used with One Page Profile)
yeputons’s picture

Status: Needs review » Fixed

OK, I've tested this patch by myself and think that it works.
Fixed [ #849978 ] by yeputons (reported by KasperChristensen): image is being deleting when saving non-picture fields (used with One Page Profile)

Status: Fixed » Closed (fixed)

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