idCast() returns an array instead of a simple value
Description
Step to reproduce:
Create a new coldbox project
Install coldbox and cborm, enable ORM and setup a datasource in Application.cfc
Create models\Employee.cfc
4. Add lines to handlers\Main.cfc
And here’s the screenshot of the output:
This behavior also causes UniqueValidator@cborm to fail.
Environment Info:
cborm-4.3.2+75
coldbox-6.8.1+5-202208111517
Lucee 5.3.9+160
Attachments
1
Activity
Show:
Da LiDecember 31, 2022 at 12:58 AM
The issue was coming from an error generated by using UniqueValidator@cborm. I could not find the exact error for the moment. So please ignore this issue.
Pinned fields
Click on the next to a field label to start pinning.
Step to reproduce:
Create a new coldbox project
Install coldbox and cborm, enable ORM and setup a datasource in Application.cfc
Create models\Employee.cfc
4. Add lines to handlers\Main.cfc
And here’s the screenshot of the output:
This behavior also causes
UniqueValidator@cborm
to fail.Environment Info:
cborm-4.3.2+75
coldbox-6.8.1+5-202208111517
Lucee 5.3.9+160