I get the following WSOD-inducing error when I try previewing a comment as an anonymous user in Drupal 8 dev (as of Oct. 13, 2013):
Fatal error: Call to a member function id() on a non-object in core/modules/comment/comment.module on line 1371
It looks like comment.module is still using
global $user;, which won't work properly (I don't think) for anonymous users with methods like
This is interfering with my ability to write tests for the Honeypot module; see:.
PASSED: [[SimpleTest]]: [MySQL] 59,203 pass(es).
FAILED: [[SimpleTest]]: [MySQL] 58,519 pass(es), 7 fail(s), and 4 exception(s).
PASSED: [[SimpleTest]]: [MySQL] 58,700 pass(es).