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

Threads for issue reports with sub-locations are not created on GitLab merge requests #1012

Open
EduardoVaz06 opened this issue Dec 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@EduardoVaz06
Copy link

EduardoVaz06 commented Dec 10, 2024

Bug description
I noticed in some GitLab merge requests that when there are sublocations in the issue, like the one in the printscreen, no threads are created even though the Analysis Details lists it as an issue, and the issue is shown on SonarQube.

Expected behavior
An open thread with the issue, report just like the others.

Screenshots
The print shows 4 issues reported, but only 1 thread opened. The other three issues have sublocations.
(4 issues reported, but only 1 thread opened)
image
(example of sub-locations)
image

Software Versions

  • SonarQube Version: [v10.6]
  • Plugin Version: [1.22.0]

Additional context
Is that an expected behaviour or it's really a bug? This happenning causes some issues to not be resolved before the merge

@EduardoVaz06 EduardoVaz06 added the bug Something isn't working label Dec 10, 2024
@mc1arke
Copy link
Owner

mc1arke commented Dec 11, 2024

You appear to have duplicated the original screenshot rather than showing a second screenshot with the Gitlab decoration. I'm also not clear on what you mean be 'subissues in the rule', can you provide a bit more detail about what you're seeing in Sonarqube to allow this to be replicated?

@EduardoVaz06
Copy link
Author

Sorry! I fixed the print now

With subissues i mean sub-locations, for rules like php:S1142 and php:S5867, for example.

image

@EduardoVaz06 EduardoVaz06 changed the title Threads for issues with subissues are not created on GitLab merge requests Threads for issue reports with sub-locations are not created on GitLab merge requests Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants