ColdBox-3.8.0/CF10 - BaseORMService failed to convert a character string to uniqueidentifier

I don’t see any examples on that page that use nullEmptyInclude and mix named and positional parameters. The concept of named and positional parameters have nothing to do with ORM or even ColdBox and are just part of how ColdFusion works.

Named parameters look like this and can be specified in any order, even omitting optional ones.
obj.myMethod( param2=‘value1’, param2=‘value2’, param3=‘value3’ );

Positional parameters look like this and must be in order. You can only omit ending ones:
obj.myMethod( ‘value1’, ‘value2’, ‘value3’ );

What you did was a mix of the two which is invalid ColdFusion syntax.

populateModel(ppsdService.get( rc.id ), nullEmptyInclude="*");

ppsdService.get( rc.id ) is a positional value, but nullEmptyInclude="*" is a named value.

Back to your issue at hand, I agree with Joel. Simplify what you are doing and get just a plain ORM example working, then build on it.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

lol, now the error actually makes sense, how the hell did I not even see that!!

Thank you everyone for taking the time to explain and provide references. I apologize for trivial questions and mistakes, I will heed your advice on starting again simple. I’ve learned quite a bit from this thread.

Thanks again!

Sure thing! Once you get some examples working, feel free to post back here. ColdFusion ORM, by itself, has a pretty decent learning curve, and then a bit extra for the ColdBox utilities for dealing with ORM. However, once you get your feet wet and get the hang of it, you’ll be able to really start owning some code.

Best of luck, and feel free to ask questions–we’re here to help!