From 6c0f356c5499eb69e4c8f4b1da0ba388c9c97e08 Mon Sep 17 00:00:00 2001
From: Claude
Date: Tue, 29 Sep 2026 11:02:12 +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
---
app/views/main/index.bxm | 2 +-
box.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/views/main/index.bxm b/app/views/main/index.bxm
index 68e96a7..d223ad0 100644
--- a/app/views/main/index.bxm
+++ b/app/views/main/index.bxm
@@ -33,7 +33,7 @@
index()