We are having an issue when saving an ORM transaction, there is an error thrown but we don’t see an error with the transaction unless we ORMFlush().
In application.cfc the following are set:
ormsettings.flushatrequestend = false;
automanagesession = false;
In my template I am running the following transaction:
me = entityLoadByPK('user',1);
me.setName('asdfhsalkfjsalfkjsaflasjkflsa'); //name is varchar(10)
No error is thrown, and the record is not saved. No further transactions in this page request are saved either.
Any help would be greatly appreciated!