Skip to content

Commit 3217c48

Browse files
committed
Add changelog entry and small test change
1 parent 5f6eceb commit 3217c48

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ semver Intersection would incorrectly pass if an exact version is compared again
1313
no overlap.
1414
- #1077: Fixed error handling of dependency resolution to correctly report what the offending
1515
modules are.
16+
- #1187: Remove extra path entries in output of %IPM.Storage.ResourceReference:ResolveChildren() that broke unguarded downstream callers.
1617

1718
## [0.10.7] - 2026-05-29
1819

tests/integration_tests/Test/PM/Integration/IncludeTests.cls

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ Method TestResolveChildrenNoPathEntries()
122122
set module = ##class(%IPM.Storage.Module).NameOpen("test-output-format",,.status)
123123
do $$$AssertStatusOK(status,"Opened test-output-format module.")
124124

125-
set foundPathEntry = 0
126125
set key = ""
127126
for {
128127
set tResource = module.Resources.GetNext(.key)
@@ -133,12 +132,11 @@ Method TestResolveChildrenNoPathEntries()
133132
for {
134133
set childKey = $order(tChildren(childKey))
135134
quit:(childKey = "")
136-
if ($extract(childKey) = "/") {
137-
set foundPathEntry = 1
135+
if $extract(childKey) = "/" {
136+
do $$$AssertTrue(0,"Path entry '"_childKey_"' found in ResolveChildren output for "_tResource.Name)
138137
}
139138
}
140139
}
141-
do $$$AssertNotTrue(foundPathEntry,"ResolveChildren output contains no path entries.")
142140
} catch e {
143141
do $$$AssertStatusOK(e.AsStatus(),"An exception occurred.")
144142
}

0 commit comments

Comments
 (0)