You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is a FileAttachmentField in ModelAdmin the detach method won't work as expected. You will need to click detach & save twice as in "Detach => ID=0 => Save => Image reappears=> Detach => Save => Image detached".
If there is a FileAttachmentField in ModelAdmin the detach method won't work as expected. You will need to click detach & save twice as in "Detach => ID=0 => Save => Image reappears=> Detach => Save => Image detached".
This seems to be only the case in ModelAdmin.
I've traced the problem to FileAttachmentField->setValue().
https://github.com/unclecheese/KickAssets/blob/master/code/FileAttachmentField.php#L35
My fix is to check requestVars with isset():
The text was updated successfully, but these errors were encountered: