Skip to main content
March 13, 2009
Question

parameter not passed in error

  • March 13, 2009
  • 1 reply
  • 946 views
I have Flex 3.0.214193 and CF 8,0,0,176276 and Oracle 10.2.0.3.
I've been search for several days for an answer to this one. There is very little out there about this type of error, but then there is very little about any problems with Flex and ColdFusion.
In Flex, I have two comment fields. the .cfc has two update functions that update the comments, because they are in two different tables. The first update works like a champ. The second one consistantly shows this error in the CF application log: The NEWENGREMARK parameter to the updateEng function is required but was not passed in. I've used to Alert.Show to verify that Flex does have a value in that variable when it calls the .cfc. I've even tried passing the first variable that worked in the first update, and then a litteral value. Everything yields the same cryptic error message. I must be looking at the wrong thing.
The only things I've found on the web about this, say the variables should have a scope (is that a scope in Flex or in the .cfc) and the column names should be in upper case (because it's Oracle).
Here's the .cfc code (is that where the error is, or is it in Flex?). The UpdateDescription function works, but the UpdateEng doesn't.

Thanks for any help, or spelling errors you can point out.
Scott
This topic has been closed for replies.

1 reply

Cyril Hanquez
Participating Frequently
April 11, 2009

Can you share some code ? It's not always easy to debug without seeing anything :-)

Just one thing, you can pas both comment fields to only 1 function and do both updates in it. You don't need to have 2 separate functions for that (unless you need it for reusability).