Uploader is not removing files on parent object destroy

36 views
Skip to first unread message

Chris Bloom

unread,
May 22, 2012, 4:59:01 PM5/22/12
to carri...@googlegroups.com
I have 4 CW uploaders in my system. One particular uploader is not properly removing the associated images when the parent object is destroyed. Other than the store_dir setting and slightly different size constraints, the uploaders are identical. The mount_uploader on each model is just your basic "attribute, uploader" syntax. I can confirm that the files are being stored, and that the object runs through it's destroy sequence properly (i.e. I can see that both the before_destroy and after_destroy callbacks have been triggered), but the images remain. Again, it's only this one uploader - the other three work as expected. This is happening with both a local file store and a remote Cloud File store.

Is there a way to debug what's going on in CW? What else should I be checking?
Reply all
Reply to author
Forward
0 new messages