Avatar become set while the upload fails because of big file size
Summary
When we try to upload large file for group it shows the both error message and Remove avatar
but makes the Choose file
button disable so we can't choose any image until clicking the remove avatar
button. But it looks little confusing because no group avatar is actually uploaded because no instruction has given that you need to click the Remove avatar
button before you retry.
Any thoughts @dimitrieh.
Possible fixes
After inspecting I found that upload group avatar is failed but @group.avatar
still set to /uploads/tmp/1487062324-12150-5252/test-group-avatar-big.png
which is causing the Remove avatar
button to appear.