Download & Extend

Image is being deleting when saving non-picture fields (used with One Page Profile)

Project:Profile pictures
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:falkendk
Status:closed (fixed)

Issue Summary

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.

Comments

#1

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="/">

#2

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

#3

Status:active» needs review

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

AttachmentSize
profile_pictures.patch 886 bytes

#4

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

#5

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)

#6

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)

#7

Status:fixed» closed (fixed)

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

nobody click here