Dave Merrill
03/15/2022, 3:29 PMwebsolete
03/15/2022, 3:46 PMvalue="#val(arguments.updatedbyid)#"
i'm sure the error goes away, but doubt it's what you actually are expectingwebsolete
03/15/2022, 3:50 PMchris_hopkins
03/15/2022, 3:51 PMDave Merrill
03/15/2022, 3:52 PMchris_hopkins
03/15/2022, 3:53 PMwebsolete
03/15/2022, 3:53 PMnull="!isNumeric(arguments.updatedbyid)#"
for example without issuechris_hopkins
03/15/2022, 3:55 PMwebsolete
03/15/2022, 3:56 PMDave Merrill
03/15/2022, 3:58 PMwebsolete
03/15/2022, 3:59 PMisNumeric(arguments.updatedbyid)
as well in that throw, what's that resultwebsolete
03/15/2022, 3:59 PMabs(arguments.updatedbyid)
just to see if it behaves as numericDave Merrill
03/15/2022, 3:59 PMDave Merrill
03/15/2022, 4:04 PMwebsolete
03/15/2022, 4:05 PMDave Merrill
03/15/2022, 4:06 PMwebsolete
03/15/2022, 4:07 PMfoundeo
foundeo
<cfset request.alreadyRanThis = true>
be in a else
Dave Merrill
03/15/2022, 4:11 PMDave Merrill
03/15/2022, 4:12 PMDave Merrill
03/15/2022, 4:18 PMfoundeo
cfsqltype
to cf_sql_varchar
temporarily on the updatedbyid if you are still getting Invalid data '' for CFSQLTYPE CF_SQL_INTEGER
then it is not from that varwebsolete
03/15/2022, 4:23 PMfoundeo
foundeo
'cannot cast '' to type integer'
then somewhere in your code that variable is getting changed, try moving your throw around to different places to see where it gets set to ''
David Buck
03/15/2022, 4:28 PMDavid Buck
03/15/2022, 5:00 PMDave Merrill
03/15/2022, 5:10 PMDave Merrill
03/15/2022, 6:49 PM