Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Import All no longer deletes items that are mapped in from another database, which could delete Embedded Git itself where it is mapped instance-wide (#997)
- A custom pull event handler stored in the repository is now loaded and compiled before it runs, so operations on a freshly built instance no longer fail with `<CLASS DOES NOT EXIST>` (#1000)
- IRIS BI Architect no longer throws `<CLASS DOES NOT EXIST>` error when no cube selected (#980)

## [2.17.1] - 2026-08-18

Expand Down
3 changes: 2 additions & 1 deletion cls/SourceControl/Git/Utils.cls
Original file line number Diff line number Diff line change
Expand Up @@ -1861,10 +1861,11 @@ ClassMethod ExportItem(InternalName As %String, expand As %Boolean = 1, force As
quit $$$OK
}

ClassMethod ItemIsProductionToDecompose(InternalName, Output productionName)
ClassMethod ItemIsProductionToDecompose(InternalName, Output productionName) As %Boolean
{
set settings = ##class(SourceControl.Git.Settings).%New()
set name = $piece(InternalName,".",1,*-1)
return:name="" 0
set decomposeProduction = settings.decomposeProductions && (..Type(InternalName) = "cls")
&& ##class(SourceControl.Git.Production).IsProductionClass(name, "FullExternalName")
if decomposeProduction {
Expand Down
10 changes: 10 additions & 0 deletions test/UnitTest/SourceControl/Git/Extension.cls
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,14 @@ Method TestGeneratedFilesReadOnlyOption()
$$$ThrowOnError(sc)
}

/// DeepSee Architect calls UserAction with ".CLS" as the internal name when no cube is selected
Method TestUserActionEmptyClassName()
{
set settings = ##class(SourceControl.Git.Settings).%New()
set settings.decomposeProductions = 1
do settings.%Save()
do ##class(SourceControl.Git.Extension).%New("").UserAction(1,3,".CLS")
do $$$AssertSuccess("UserAction did not throw exception with empty class name")
}

}
Loading