Skip to content
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

[TFS] Updating an existing binding fails #801

Closed
duncanp-sonar opened this issue Jan 15, 2019 · 1 comment
Closed

[TFS] Updating an existing binding fails #801

duncanp-sonar opened this issue Jan 15, 2019 · 1 comment

Comments

@duncanp-sonar
Copy link
Contributor

Description

Updating an existing binding fails when the source control system is TfVC.
It works correctly for Git.

Repro steps

  1. Create a solution, commit it to TfVC, and bind the solution to SonarQube.

  2. Go to the SonarQube pane in the Team Explorer and select Update

Expected behavior

The binding update succeeds.

Actual behavior

The update fails. The following gold bar is displayed.

image

There is no useful information in the output window.

image

Known workarounds

Manually check out the files under the .sonarlint folder before updating the binding:

image

Related information

  • SonarLint for VS Version: 4.7
  • Visual Studio Version: VS2015 and VS2017, all SKUs
  • Languages affected: C, VB

Notes

On debugging, the failure is happening when attempting to check the files for edit in this line.
The error code that is returned is ok so the code does not throw.
However, the verdict is not QER_EditOK so the method returns
The moreInfo value is 272 i.e. QER_ReadOnlyUnderScc | QER_NoisyCheckoutRequired

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@duncanp-sonar @valhristov and others