Skip to content

Commit 5446e48

Browse files
committed
More comprehensive merging
1 parent d5dca87 commit 5446e48

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

packages/security/GoogleUserDirectory.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<cfset stResult.userid = "" />
1818
<cfset stResult.authenticated = false />
19-
<cfset stResult.message = form.error />
19+
<cfset stResult.message = url.error />
2020

2121
<cfelseif structkeyexists(url,"code")>
2222

packages/types/gudUser.cfc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,15 @@
196196
</cfif>
197197
</cfloop>
198198

199+
<cfloop collection="#application.stCOAPI[arguments.typename].stProps#" item="property">
200+
<cfif application.stCOAPI[arguments.typename].stProps[property].metadata.type eq "uuid" and structkeyexists(application.stCOAPI[arguments.typename].stProps[property].metadata,"ftJoin") and application.stCOAPI[arguments.typename].stProps[property].metadata.ftJoin eq "dmProfile">
201+
<cfquery datasource="#application.dsn#">
202+
update #application.dbowner##arguments.typename#
203+
set #property# = <cfqueryparam cfsqltype="cf_sql_varchar" value="#arguments.newprofile.objectid#" />
204+
where #property# = <cfqueryparam cfsqltype="cf_sql_varchar" value="#arguments.oldprofile.objectid#" />
205+
</cfquery>
206+
</cfif>
207+
</cfloop>
199208
</cffunction>
200209

201210
<cffunction name="migrateLogs" access="private" output="false" returntype="void">

0 commit comments

Comments
 (0)