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

In a Merge Request, inline comments are added at the correct new line but with code smell that was present at the line number before diff ? #287

Open
whatthefrog opened this issue Oct 2, 2020 · 0 comments

Comments

@whatthefrog
Copy link

whatthefrog commented Oct 2, 2020

using SonarQube Community EditionVersion 7.9.1 (build 27448)

using sonar-gitlab-plugin 4.1.0-SNAPSHOT

  L1: class Test {
  L2:
+ L3:  public String titi;
+ L4:
  L5:  public String toto;
  L6:
  L7:}

Wrong:
Comment added to line 3, will be "Some existing code smell about toto", that used to be line 3 before the addition of titi

Expected:
Comment added to line 3, will be "The new code smell about titi"

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

No branches or pull requests

1 participant