Skip to content

Commit 4c6f7fd

Browse files
committed
fix: inconsistent casing in items cache
1 parent c50105f commit 4c6f7fd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111
- Expanded Baseline Export to include custom HL7, X12, ASTM schemas and Lookup Tables (#693)
1212

13+
### Fixed
14+
- extensions in item cache are consistently upper-case, so "export all" doesn't duplicate work (#727)
15+
1316
## [2.11.0] - 2025-04-23
1417

1518
### Added

cls/SourceControl/Git/Utils.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ ClassMethod NormalizeInternalName(ByRef name As %String, Output fromWebApp As %B
12701270
set type = ..Type(.name)
12711271

12721272
if ($extract(name) '= "/") && (type'="csp") {
1273-
quit $piece(name,".",1,*-1)_"."_$zconvert($piece(name,".",*),"U")
1273+
quit ..NormalizeExtension(name)
12741274
}
12751275

12761276
if (name [ "/") && (type = "csp") {
@@ -1293,7 +1293,7 @@ ClassMethod NormalizeExtension(name As %String) As %String
12931293
{
12941294
#dim extension = $piece(name, ".", $length(name, "."))
12951295
if $length(extension) <= 3 {
1296-
set $piece(name, ".", $length(name, ".")) = $zconvert(extension, "L")
1296+
set $piece(name, ".", $length(name, ".")) = $zconvert(extension, "U")
12971297
}
12981298
quit name
12991299
}

0 commit comments

Comments
 (0)