From 72a1ff88eddf333145e8301f5dc79c770a57152a Mon Sep 17 00:00:00 2001
From: Claude
Date: Tue, 29 Sep 2026 11:02:14 +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 1967774..664f076 100755
--- a/box.json
+++ b/box.json
@@ -34,7 +34,7 @@
},
"dependencies":{
"vite-helpers":"^2.0.0",
- "coldbox":"^8.0.0"
+ "coldbox":"^8.2.0"
},
"scripts":{
"postInstall":"pathExists .env || cp .env.example .env && package set ignore=[]",
diff --git a/views/main/index.cfm b/views/main/index.cfm
index bc93c99..fcb7ccd 100755
--- a/views/main/index.cfm
+++ b/views/main/index.cfm
@@ -39,7 +39,7 @@
index()