-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Security hotspot link for Sq 8.5 #276
Labels
bug
Something isn't working
Comments
Can you provide a screenshot of the reported issue in GitLab please? |
Line 119 in d5232b4
Maybe |
mc1arke
added a commit
that referenced
this issue
Jul 2, 2021
Sonarqube uses a different URL format for issues compared to Security Hotspots, but the plugin was using the same format for both during Pull Request decoration, so linking to invalid URLS for hotspots. The URL generation has therefore been altered to take the issue type into account when generating a link to each issue.
mc1arke
added a commit
that referenced
this issue
Jul 2, 2021
Sonarqube uses a different URL format for issues compared to Security Hotspots, but the plugin was using the same format for both during Pull Request decoration, so linking to invalid URLS for hotspots. The URL generation has therefore been altered to take the issue type into account when generating a link to each issue.
mc1arke
added
the
backport candidate
This feature or fix should be included in another release branch
label
Jul 2, 2021
mc1arke
added a commit
that referenced
this issue
Jul 2, 2021
Sonarqube uses a different URL format for issues compared to Security Hotspots, but the plugin was using the same format for both during Pull Request decoration, so linking to invalid URLS for hotspots. The URL generation has therefore been altered to take the issue type into account when generating a link to each issue.
Released in v1.9.0 of the plugin |
mc1arke
added a commit
that referenced
this issue
Aug 22, 2021
Sonarqube uses a different URL format for issues compared to Security Hotspots, but the plugin was using the same format for both during Pull Request decoration, so linking to invalid URLS for hotspots. The URL generation has therefore been altered to take the issue type into account when generating a link to each issue. (cherry picked from commit 732ba92)
Backported to 1.8.1 of the plugin for Sonarqube 8.9 support. |
mc1arke
removed
awaiting release
Merged but not currently in release version
backport candidate
This feature or fix should be included in another release branch
labels
Sep 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In sq 8.5 security hotspots are not listed among all issues, so the link "View in SonarQube" in MR comment leads to empty issues page with notice:
To Reproduce
Steps to reproduce the behavior:
password = "Password"
Incorrect link:
Expected behavior
Link should head to Security Hotspots page in SonarQube
Corrent link:
Screenshots
Software Versions
The text was updated successfully, but these errors were encountered: