-
Notifications
You must be signed in to change notification settings - Fork 236
Description
I just updated my user profile at https://metacpan.org/account/profile to replace the Avater from gravatar with another URL and submitted. I got an error message saying the ASCII Name is required, and the form was prefilled with all my data. The image had already changed.
I then added the ASCII Name (filled in the same as the normal name, which is all standard ASCII for me) and submitted again. The next page told me it got updated successfully, but the form below was completely empty.
Clicking the profile link in the sidebar will take you back to the properly filled form.
After further testing I learned that the image is not actually saved when the form did not validate. The page re-fills all the changes made previously into the form, and the image on the left gets sourced from the URL in the avatar field.
How to reproduce
To reproduce the part where the form is empty, the following steps are enough:
- go to https://metacpan.org/account/profile
- change any value
- submit
- there is a success message and the form is blank
