-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I was switching between branches when I noticed that the changed files were not making it into my Iris instance. When I examined the DeploymentLog, I found this error:
<SUBSCRIPT>OnPull+21^SourceControl.Git.PullEventHandler.IncrementalLoad.1 *delList() Subscript 2 is ""
OnPull+21^SourceControl.Git.PullEventHandler.IncrementalLoad.1This is that line of code:
if ((internalName = "") && (..ModifiedFiles(i).changeType '= "D")) {
write !, tExternalName, " was not imported into the database and will not be compiled. "
} elseif (..ModifiedFiles(i).changeType = "D") {
#; Deleted production items will not have an internal name
set delIndex = $select(##class(SourceControl.Git.Util.Production).ItemIsPTD(tExternalName): 1, 1: 2)
set:(delIndex=1) internalName = "-"_i
set delList(delIndex, internalName) = tExternalName ;; <<< SUBSCRIPT error being thrown here
}In my git diff, there were only these 2 deleted files:
D Demo.ProcessingIssueReason.CLS cls/Demo/ProcessingIssueReason.cls
D data/sample/Failure_Reasons.csvNeither item is a PTD, so $select returns 2. However, that CSV does not have an internal name, so internalName ends up blank and we end up with <SUBSCRIPT>.
Version 2.15.0
$zv: IRIS for Windows (x86-64) 2025.1 (Build 223U) Tue Mar 11 2025 18:14:42 EDT
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels