DeleteJobsCommon
Function does not return API response for ModifyVersion 2.0 when parameter not passed
#2354
Labels
bug
Something isn't working
needs-ported
Indicates that a PR needs to be ported (master - lts-incremental)
priority-medium
Not functioning - next quarter if capacity permits
severity-medium
Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Describe the bug
DeleteJobsCommon
checks formodifyVersion
to be1.0
to attach the Version 1 header. Otherwise it attaches the Version 2 header. However, later logic explicitly checks ifmodifyVersion
is2.0
and if it is, it will return the response from the API, otherwise it will not. This means that ifmodifyVersion
is not passed, it will default to2.0
but will not return the API response to the calling function. This was fixed as part of #2352 but was not ported to V2. Respective files areDeleteJobs.ts
,DeleteJobs.unit.test.ts
, andDeleteJobs.system.test.ts
.Expected and actual results
Describe your environment
Additional context
The text was updated successfully, but these errors were encountered: