Skip to content

Commit

Permalink
Fix lookup tables
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-etamarch committed Nov 11, 2024
1 parent 0c7721d commit 1a55cc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed improper encoding of unicode characters in commit messages (#627)
- Creating a new branch now reports the error if uncommitted changes conflict (#624)
- Fix Configure erroring out if git isn't found (#632)
- Fix "%" replacing characters in lookup table names (#588)

## [2.7.0] - 2024-11-04

Expand Down
4 changes: 3 additions & 1 deletion cls/SourceControl/Git/Utils.cls
Original file line number Diff line number Diff line change
Expand Up @@ -2504,7 +2504,9 @@ ClassMethod NameToInternalName(Name, IgnorePercent = 1, IgnoreNonexistent = 1, V
if (InternalName="") {
//take our best guess based on the document extension mapped to that subdirectory
set nam=$piece(nam,".",1,*-1)
set nam=$replace(nam, ..PercentClassReplace(), "%")
if (fileExt = "cls" || fileExt = "rtn" || fileExt = "inc") {
set nam=$replace(nam, ..PercentClassReplace(), "%")
}
set nam=$translate(nam,"/",".")
set InternalName=nam_"."_fileExt
if (fileExt="cls") {
Expand Down

0 comments on commit 1a55cc8

Please sign in to comment.