Azure / Azure/aimtool

ArgumentNullException on short deployment-env

Open
#22 1 comment 0 reactions 1 assignee Claimed by @probertdaniel View on GitHub
bug
Dominant language
C#
Stars
52
Forks
46
PR merge metrics
No merged PRs in 30d

Description

## Description

I got some errors because of names too long for resources and tried to shorten them by using "D" as deployment-env. As a result I got an ArgumentNullException (see stacktrace below).

## Environment and tool versions

- AIM Tool Version (aim --version): 0.5.1-beta.2020102844785
- Windows Version (systeminfo): Win10
- Shell: Powershell
- Shell Version ($PSVersionTable | bash --version):

PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

## Repro steps

run the tool using options like:

aim migrate -a "microsoft.biztalk.msidiscoverer.msidir=..\msi" --deployment-env d -v

## Expected result

Either success or a more descriptive error message stating any restrictions for the deployment-env parameter.

## Current result

ArgumentNullException

![image](https://user-images.githubusercontent.com/11743735/124971391-1e1c0100-dff7-11eb-8b00-218d43f420fd.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.