Azure / Azure/Azure-DataFactory

File name case sensitivity issue with template file

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

Description

The NPM package building the artifacts is using the following for the parameter file name (notice ARM is all caps).

ARMTemplateParametersForFactory.json

Line 551 of the PrePostDeploymentScript.Ver2.ps1 script to bulid the path for that file when not provided uses:

$ArmTemplateParameters = Join-Path -Path (Split-Path $ArmTemplate -Parent) -ChildPath 'ArmTemplateParametersForFactory.json'

This fails to find the file due to the case mismatch in the filename, mixed case of "Arm" instead of "ARM".

Can this be adjusted to address the issue?

It only causes problems on a linux based agent. Windows agents seem to be case insensitive and this doesn't cause a problem.

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.