Details
Description
The default toString() output for domain classes is "[Class: id]". If the object hasn't been saved yet, then id is null and you get "[Class: null]". This is confusing because it makes it seems that the domain instance itself is null.
I recommend that if the ID is null, we generate something like "[Class: (unsaved)]" or "[Class: (no id)]".
I've been bit by this bug as well, voted!