Skip to content
New issue

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

Bug in Set-QlikLicense when site has existing license #181

Open
aburnsy opened this issue May 12, 2022 · 0 comments
Open

Bug in Set-QlikLicense when site has existing license #181

aburnsy opened this issue May 12, 2022 · 0 comments

Comments

@aburnsy
Copy link

aburnsy commented May 12, 2022

There is a line in Set-QlikLicense, where we check if we are updating a site's license and if the old license had a key. If both conditions are met, its assumed this is a downgrade of the signed license and we can't continue

if ($CurrentQlikLicense.key -ne "" -and $PSCmdlet.ParameterSetName -eq "Serial"

However, $CurrentQlikLicense.key is null, not an empty string, so that first statement is always true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant