[REVIEW] Creating an entity triggers a silent error (issue #536)

Fixes #536