Azure / Azure/Azure-DataFactory

This has some bug while parsing through pipeline activities to find the dependency pipelines

Open
#431 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
PowerShell
Stars
529
Forks
623
PR merge metrics
No merged PRs in 30d

Description

Function pipelineSortUtil has the issue at line 80 & 81. Error is as below
one of the pipeline is leading to succeed the condition at line 43 (if ($activity.Pipeline) ) and then failing at the below code. Pls check and fix it.
"
$pipeline.Activities | ForEach-Object { getPipelineDependencies -activity $_ -pipelineNameResourceDict $pipelineNameResourceDict } | ForEach-Object {
pipelineSortUtil -pipeline $pipelineNameResourceDict[$_] -pipelineNameResourceDict $pipelineNameResourceDict -visited $visited -sortedList $sortedList
}
"

Error:
Line |
32 | pipelineSortUtil -pipeline $pipelineNameResourceDict[$_] -pip …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Index operation failed; the array index evaluated to null.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.