If you have content review enabled and create a peer reviewed assignment. Open the assignment, have 2 students make submissions. Close the assignment (change due and extended dates), wait 5 minutes for the peer review code to run.
Then become one of the students who made a submissions and mark one of the other users submissions. At this point you can add an attachment to the review, however it fails with an error message of:
unable to find assignment 'null'