From 9225a53eee9eb12c412bfddd33ec438d0bc16881 Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Tue, 3 Mar 2026 10:41:30 -0800 Subject: [PATCH] Fix saveWizard.cfm Lucee 7 syntax error Convert cfthread from tag-based to cfscript syntax. Lucee 7 no longer allows mid-file to switch to tag mode. Co-Authored-By: Claude Opus 4.6 --- api/setup/saveWizard.cfm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/api/setup/saveWizard.cfm b/api/setup/saveWizard.cfm index f9dc4c7..6159b0d 100644 --- a/api/setup/saveWizard.cfm +++ b/api/setup/saveWizard.cfm @@ -218,12 +218,10 @@ try { response.steps.append("Created address record (ID: " & addressId & ")"); // Auto-geocode address in background - - - - - - + thread action="run" name="geocode_#addressId#" addressId=addressId { + include template="/api/inc/geocode.cfm"; + geocodeAddressById(attributes.addressId); + } // Get community meal type (1=provide meals, 2=food bank donation) communityMealType = structKeyExists(wizardData, "communityMealType") && isSimpleValue(wizardData.communityMealType) ? val(wizardData.communityMealType) : 1;