ten24/Slatwall — Issue #486: Add better developer feedback of exception cases when Implicit "save/populate" logic fires
Author: bhendel
Created: 2011-12-22 20:24:56+00:00
State: open
Labels: Feature Request

Misspelling fieldname in an entity relation causes a custom exception to fire:

"The entity being passed to this service is not a persistent entity. Make sure that you aren't calling the ORM method with named arguments."

We should reword this exception, and add a list of possible causes (like misnamed fieldtype attribute) so that developers can be hinted to what might be wrong.

I am specifically looking at BaseService.cfc, around line 110, where it throws:

throw("The entity being passed to this service .....