We should implement __sleep() or serialize().
or the Serializable interface, I meant. Let's better go with __sleep, as the interface would make any existing __sleep() implementations useless.
Committed a fix, see http://drupalcode.org/project/entity.git/commitdiff/0e5ae63f144be44b00f2...
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.