Fix saveWizard.cfm Lucee 7 syntax error

Convert cfthread from tag-based to cfscript syntax. Lucee 7
no longer allows </cfscript> mid-file to switch to tag mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-03-03 10:41:30 -08:00
parent 2b441e166e
commit 9225a53eee

View file

@ -218,12 +218,10 @@ try {
response.steps.append("Created address record (ID: " & addressId & ")"); response.steps.append("Created address record (ID: " & addressId & ")");
// Auto-geocode address in background // Auto-geocode address in background
</cfscript> thread action="run" name="geocode_#addressId#" addressId=addressId {
<cfthread action="run" name="geocode_#addressId#" addressId="#addressId#"> include template="/api/inc/geocode.cfm";
<cfinclude template="/api/inc/geocode.cfm"> geocodeAddressById(attributes.addressId);
<cfset geocodeAddressById(attributes.addressId)> }
</cfthread>
<cfscript>
// Get community meal type (1=provide meals, 2=food bank donation) // Get community meal type (1=provide meals, 2=food bank donation)
communityMealType = structKeyExists(wizardData, "communityMealType") && isSimpleValue(wizardData.communityMealType) ? val(wizardData.communityMealType) : 1; communityMealType = structKeyExists(wizardData, "communityMealType") && isSimpleValue(wizardData.communityMealType) ? val(wizardData.communityMealType) : 1;