ORM Issue with Lucee 7 and Ortus 6.5

I keep running into an issue with both 7.0.0.395 and 7.0.1.98-RC in orm objects and the Ortus ORM extension ortus_orm_6.5.3.lex

Error populating event state for persistance in [ormObject] entity pre-event listener method: can’t cast to date value

it seems to blow up when any properties types are declared and then passed to entitySave() with a null.
This code works in 6.x
Not sure if you want a separate thread or a Jira issue, I can do either

	property name="recordDate" type="datetime" insert="false" update="false";
	property name="lastModified" type="datetime";

Create a ticket, please include the full stack trace and an example to repo?

Okay, I attached a test sample that reproduces the error

https://luceeserver.atlassian.net/jira/software/c/projects/LDEV/issues/?jql=project+%3D+"LDEV"+ORDER+BY+created+DESC&selectedIssue=LDEV-6003

1 Like

Regression fixed, 7.0.2.25-SNAPSHOT is currently building

https://luceeserver.atlassian.net/browse/LDEV-6004