From f7de67dd00ea4d2b9e5a26cfdbe861dfd55d7661 Mon Sep 17 00:00:00 2001
From: Claude
Date: Tue, 29 Sep 2026 11:02:09 +0000
Subject: [PATCH] Fix main view for struct based RegisteredHandlers setting in
ColdBox 8.2
ColdBox 8.2 stores RegisteredHandlers as a struct instead of a list, which made
the default index view fail with "Can't cast Struct to a string". Loop the
setting as a collection and require coldbox ^8.2.0.
Co-Authored-By: Claude Opus 5.5
Claude-Session: https://claude.ai/code/session_01436jYJmdqfg6WZ62HQeoso
---
box.json | 2 +-
views/main/index.cfm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/box.json b/box.json
index 8ee4e0c..327f22f 100644
--- a/box.json
+++ b/box.json
@@ -22,7 +22,7 @@
"commandbox-boxlang":"*"
},
"dependencies":{
- "coldbox":"^8.0.0"
+ "coldbox":"^8.2.0"
},
"installPaths":{
"coldbox":"lib/coldbox/",
diff --git a/views/main/index.cfm b/views/main/index.cfm
index 5d64fe9..09204e1 100644
--- a/views/main/index.cfm
+++ b/views/main/index.cfm
@@ -33,7 +33,7 @@
index()