RE: [coldbox:18267] Re: [coldbox-3.5.3] validation issue

“Type” is a different validator than “required”.

coldbox\system\validation\validators\RequiredValidator.cfc
coldbox\system\validation\validators\TypeValidator.cfc

The type is not what’s failing, it’s the required one. I suggested in the ticket returning true if the value is complex and not null. I’m not sure what other issues may exist though like lazy loading of composite entities.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com