idCast() returns an array instead of a simple value

Description

Step to reproduce:

  1. Create a new coldbox project

  2. Install coldbox and cborm, enable ORM and setup a datasource in Application.cfc

  3. 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.

Details

Assignee

Reporter

Affects versions

Priority

Sentry

Created December 27, 2022 at 12:07 PM
Updated December 31, 2022 at 12:58 AM