-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Handle null as version in pinning.db #3142
Copy link
Copy link
Closed
Labels
Command-PinIssue related to WinGet PinIssue related to WinGet PinExperimentalThis experimental feature can be enabled in settingsThis experimental feature can be enabled in settingsIn-PRIssue related to a PRIssue related to a PRIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.
Milestone
Metadata
Metadata
Assignees
Labels
Command-PinIssue related to WinGet PinIssue related to WinGet PinExperimentalThis experimental feature can be enabled in settingsThis experimental feature can be enabled in settingsIn-PRIssue related to a PRIssue related to a PRIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Brief description of your issue
After manually editing
pinning.dbusing DB Browser for SQLite, winget returns null when running upgrade / list commands.After further investigation, this is because the
versionfield for one entry wasnulland not emptySteps to reproduce
Manually add an entry to the pinning database
Expected behavior
Null to be handled seamlessly
Actual behavior
Winget ceases to provide any package mapping during list / upgrade
Environment