We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c81296 commit 9d1b3ccCopy full SHA for 9d1b3cc
2 files changed
CHANGELOG.md
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8
## [Unreleased]
9
10
+### Fixed
11
+
12
+- Fixed place manager tests
13
14
## [2.0.4] - 2025-07-31
15
16
### Fixed
router/src/main/java/org/jboss/elemento/router/PlaceManager.java
@@ -291,7 +291,7 @@ private PlaceManagerStruct findPlace(String path) {
291
}
292
if (pms.place == null) {
293
logger.debug("No place found for '%s'.", path);
294
- pms.place = place(path); // create a place anyway for proper 404 handling
+ pms.place = new Place(path == null || path.trim().isEmpty() ? "/": path); // create a place anyway for proper 404 handling
295
pms.exists = false;
296
} else {
297
logger.debug("Found %s", pms.place);
0 commit comments