chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Chocolatey Licensed Extension does not fall back to open source behaviour when license verification fails #330

Closed spncrgr closed 1 year ago

spncrgr commented 1 year ago

What Are You Seeing?

Executing a Chocolatey command, including utility commands, results in a SimpleInjector.ActivationException being thrown.

What is Expected?

The Chocolatey CLI should display the license invalid or missing message and not throw an error.

How Did You Get This to Happen? (Steps to Reproduce)

  1. place an expired license file in the folder at $env:ChocolateyInstall\license
  2. Run a choco command. I ran clist -l.

System Details

Output Log

https://gist.github.com/spncrgr/1605519b4c174b61702daf0da1812b3a

20221123 Chocolatey CLI Error

┆Issue is synchronized with this Gitlab issue by Unito ┆Milestone: 5.0.1

pauby commented 1 year ago

I confirm the error appears with an expired Business license, but does not appear with an expired Professional license.

image