We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.5.4
20Q5
Affects all models.
Because an empty string when cast to [Int64] becomes 0:
[Int64]
0
❯ [Int64[]]'' 0
all packages that don't have any CancelCodes defined in their XML end up with 0 as a CancelCode in LSUClient.
Bug is caused here:
LSUClient/LSUClient.psm1
Lines 217 to 219 in 1b19ff0
and technically affects 'SuccessCodes' too but it wasn't noticed because basically all packages have SuccessCodes defined.
This issue causes successful package installations to come back ass "Success: True" and at the same time "FailureReason: CANCELLED_BY_USER" due to:
LSUClient/public/Install-LSUpdate.ps1
Lines 111 to 127 in 1b19ff0
Observed example:
ID : n3xdy04w Title : Lenovo Intelligent Thermal Solution Driver - 10 (1607 or Later)/11 (21H2 or Later) Type : Driver Success : True FailureReason : CANCELLED_BY_USER PendingAction : REBOOT_SUGGESTED ExitCode : 0 StandardOutput : StandardError : LogOutput : Runtime : 00:00:02.7590412
The text was updated successfully, but these errors were encountered:
09ed35f
No branches or pull requests
Version
1.5.4
Computer Model
20Q5
Problem
Affects all models.
Because an empty string when cast to
[Int64]
becomes0
:all packages that don't have any CancelCodes defined in their XML end up with
0
as a CancelCode in LSUClient.Bug is caused here:
LSUClient/LSUClient.psm1
Lines 217 to 219 in 1b19ff0
and technically affects 'SuccessCodes' too but it wasn't noticed because basically all packages have SuccessCodes defined.
Additional context
This issue causes successful package installations to come back ass "Success: True" and at the same time "FailureReason: CANCELLED_BY_USER" due to:
LSUClient/public/Install-LSUpdate.ps1
Lines 111 to 127 in 1b19ff0
Observed example:
The text was updated successfully, but these errors were encountered: