Skip to content

Instantly share code, notes, and snippets.

View ryanhinton's full-sized avatar

Ryan Hinton ryanhinton

  • Hinton & Company
  • Fort Lauderdale
View GitHub Profile
@ryanhinton
ryanhinton / queryExecuteIssue.cfm
Last active September 15, 2015 16:33
using queryExecute() I'm coming across a perplexing issue. The following is what I get in the error and there is an extraneous "ID" placed after "(param 4)". It's not in the actual query. Anyone experienced a similar issue like this?
<cfscript>
local.addUpdateNotification = queryExecute(
"EXEC userNotificationAddUpdate
@title = :title,
@message = :message,
@userNotificationID = :userNotificationID,
@messageID = :messageID,
@caseID = :caseID,
@isMessagedDeleted = :isMessageDeleted,
@isNotificationDeleted = :isNotificationDeleted,
component accessors=true {
private function initializeDefaultPropertyValues() {
for(local.property in getComponentMetaData('properties').properties) {
variables[local.property.name] = listContains('array,struct', local.property.type) ? deserializeJSON(local.property.default) : local.property.default;
}
}
}