Skip to content

Commit 344180f

Browse files
committed
Merge branch 'development'
2 parents 03aabcc + 04ea64b commit 344180f

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"ColdBox Platform Development Framework",
3-
"version":"8.0.1",
3+
"version":"8.0.2",
44
"location":"https://downloads.ortussolutions.com/ortussolutions/coldbox/@build.version@/coldbox-@build.version@.zip",
55
"author":"Ortus Solutions <info@ortussolutions.com>",
66
"slug":"coldbox",

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12+
### Fixed
13+
14+
- Router not being detected in `boxlang` and `modern` layouts
15+
1216
## [8.0.1] - 2025-10-28
1317

18+
### Fixed
19+
1420
- Update bx-coldbox location as it was pointing to the wrong place.
1521

1622
## [8.0.0] - 2025-10-10

system/web/services/RoutingService.cfc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,23 @@ component extends="coldbox.system.web.services.BaseService" accessors="true" {
9090
// Declare types of routers to discover
9191
var modernRouter = "config.Router";
9292
var baseRouter = "coldbox.system.web.routing.Router";
93+
var appMapping = ( len( variables.appMapping ) ? "/#variables.appMapping#/" : "/" );
9394

9495
// Discover router: app or base
95-
var configFilePath = variables.routingAppMapping & modernRouter.replace( ".", "/", "all" );
96+
var configFilePath = appMapping & modernRouter.replace( ".", "/", "all" );
9697
var routerType = (
9798
fileExists( expandPath( configFilePath & ".cfc" ) ) || fileExists(
9899
expandPath( configFilePath & ".bx" )
99100
)
100101
) ? "modern" : "base";
101102

103+
writeDump(
104+
var = configFilePath,
105+
top = 5,
106+
showUDFs = false
107+
);
108+
writeDump( var = routerType, top = 5, showUDFs = false );
109+
102110
// Check if base router mapped?
103111
if ( NOT wirebox.getBinder().mappingExists( baseRouter ) ) {
104112
// feed the base class

0 commit comments

Comments
 (0)