1) Pick a node with attachments. 2) Update the node. 3) Check its attachments and you should see all turn to empty. I have updated the attachment test in NodeTestCase and you can use that to reproduce the issue.