chocolatey / chocolatey-licensed-issues

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

Unable to enable/disable licensed features when using a Professional license #298

Closed gep13 closed 2 years ago

gep13 commented 2 years ago

What You Are Seeing?

In v1.0.0 of Chocolatey CLI and v4.0.0 of Chocolatey Licensed Extension, two issues (https://github.com/chocolatey/choco/issues/2538 https://github.com/chocolatey/chocolatey-licensed-issues/issues/293) were addressed which ensured that going forward enabling/disabling of Chocolatey features would only be allowed if the feature in question was supported within the currently executing version of Chocolatey CLI and Chocolatey Licenesed extension.

This was done due to the fact that some features were removed when we released Chocolatey CLI v1.0.0 and as a result, we wanted to ensure that it was clear that this feature (as well as others going forward) clearly indicated that they were not supported.

An issue has been found with this feature where it doesn't work when using a Professional license for Chocolatey.

This was first reported in a Reddit thread - https://www.reddit.com/r/chocolatey/comments/twqygk/unable_to_disable_cdn_download_cache_on_pro/

What is Expected?

The choco feature command should correctly allow enabling/disabling of all supported Chocolatey features.

Related Issues and Tickets

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

  1. Install Chocolatey CLI v1.0.0+ and Chocolatey Licensed Extension v4.0.0+
  2. Use a Business License
  3. Run choco feature disable -n downloadCache
  4. Things work as expected
  5. Replace the Business license with a Professional license
  6. Run choco feature disable -n downloadCache
  7. See the error message about this feature not being supported

Output Log

image

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