Skip to content

[Bug Bash] Clicking the refresh button quickly makes an error “operation canceled by user” showing in the package list of PM UI and Error List window #14255

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

Open
ZheeYoong1125 opened this issue Apr 17, 2025 · 3 comments
Labels
Found:ManualTests Functionality:VisualStudioUI Package Manager UI et al Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Bug

Comments

@ZheeYoong1125
Copy link

ZheeYoong1125 commented Apr 17, 2025

NuGet Product Used

Visual Studio Package Management UI

Product Version

NuGet Client 6.15.0.13

Worked before?

It is a regression since the issue repro on D17.13\36008.115 with implicit NuGet 6.13.2.1, but doesn’t repro on D16.11\35925.156 with implicit NuGet 5.11.6.4. 

Impact

It bothers me. A fix would be nice

Notes:        

  1. The repro rate is 80%.      

  2. Must quickly click the refresh button, and then the error will vaguely appear.

Repro Steps & Context

  1. Create a ASP.NET Web Application (.NET Framework) project in VS.

  2. Select ‘Single Page Application’ as a project template.

  3. Right-click the project in Solution Explorer and select ‘Manage NuGet Packages…’ menu item to open PM UI. 

  4. Go to ‘Installed’ tab and click the refresh button quickly.

Expected:    

The error message should not be appeared.  

Actual:    

The error “operation canceled by user” shows in the package list of PM UI and Error List window as the video below.

Image

Verbose Logs

@Nigusu-Allehu Nigusu-Allehu added Functionality:VisualStudioUI Package Manager UI et al RegressionFromPreviousRTM A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3 labels Apr 17, 2025
@Nigusu-Allehu
Copy link
Contributor

Nigusu-Allehu commented Apr 17, 2025

Image
Does not reproduce on 17.13.6

17.14 p1 error in the error list
17.14 p3 error in the error list
17.14 p4 error in the error list

Note: I was able to repro the issue. However, for me the error never showed up in the package list pane. Instead, it showed in the error list window.
Rebuilding removes the error in the error list window.

@nkolev92 nkolev92 added the Priority:1 High priority issues that must be resolved in the current sprint. label Apr 17, 2025
@ZheeYoong1125
Copy link
Author

Image

I was repro this issue on 17.13.7.

@nkolev92 nkolev92 added Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. and removed Priority:1 High priority issues that must be resolved in the current sprint. RegressionFromPreviousRTM A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3 labels Apr 21, 2025
@nkolev92
Copy link
Member

NuGet Team Triage:

There's been no changes between 17.13.6 and 17.13.7 so it's unlikely that we've done something to regress this more recently.
That being said, the scenario is unlikely and of lower priority.

We should probably not allow consecutive refreshes, but it's low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Found:ManualTests Functionality:VisualStudioUI Package Manager UI et al Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Bug
Projects
None yet
Development

No branches or pull requests

3 participants