Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to 'unset' Chocolatey settings using GUI #1098

@HypnoticYeti

Description

@HypnoticYeti

Checklist

  • I confirm there are no unresolved issues reported on the Chocolatey Status page.
  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.
  • I confirm I am using official, and not unofficial, or modified, Chocolatey products.

What You Are Seeing?

I'm trying to unset previously set values for the Chocolatey proxy and proxyBypassList settings, but I seem to be unable to do this using ChocolateyGUI. I can clear both settings, exit the settings screen, enter the settings screen again, and both settings have their original values. Modifying works, but clearing does not.
Only option to remove the values is by using the Chocolatey CLI 'config unset' command.

What is Expected?

When I remove the value for a specific setting, I would expect the configuration option to be 'unset'.

How Did You Get This To Happen?

Using CLI: choco config unset proxy
Using GUI:

  1. enter settings screen, Chocolatey TAB
  2. enter a value for the proxy setting (e.g. 'TEST')
  3. exit the settings screen
  4. enter settings screen, Chocolatey TAB
  5. clear the value of the proxy setting (remove 'TEST')
  6. exit the settings screen
  7. enter settings screen, Chocolatey TAB
  8. check the value of the proxy setting (it will be 'TEST')

System Details

  • Operating System: 10.0.22631.0
  • Windows PowerShell version: 5.1.22621.5909
  • Chocolatey CLI Version: 2.5.1
  • Chocolatey Licensed Extension version: n/a
  • Chocolatey License type: n/a
  • Terminal/Emulator: CMD, Windows PowerShell

Installed Packages

N/A

Output Log

ChocolateyGUI log displays a record when I modify a setting, e.g.:
2025-10-03 10:47:23.131 +02:00 [Warning] Updated proxy = TEST

However, when I clear its value, there is no record logged.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssues where something has happened which was not expected or intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions