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

[Bug][Dashboard] Wrong bug title in the Sonarqube dashboard #4672

Closed
2 of 3 tasks
ibrahimejaz opened this issue Mar 15, 2023 · 10 comments · Fixed by #4685
Closed
2 of 3 tasks

[Bug][Dashboard] Wrong bug title in the Sonarqube dashboard #4672

ibrahimejaz opened this issue Mar 15, 2023 · 10 comments · Fixed by #4685
Assignees
Labels
type/bug This issue is a bug
Milestone

Comments

@ibrahimejaz
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Happen to see there where mismatch informations on getting data from Reliability and few other metrics using Sonarqube dashboard.
Also checked with sorting date range and still same.

What do you expect to happen

Sonar bug information is not properly displaying on the sonarqube dashboard

How to reproduce

Sonar bug information is not properly displaying on the sonarqube dashboard

Anything else

No response

Version

main

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@ibrahimejaz ibrahimejaz added the type/bug This issue is a bug label Mar 15, 2023
@klesh klesh added this to the v0.16.0 milestone Mar 16, 2023
@klesh
Copy link
Contributor

klesh commented Mar 16, 2023

Thanks for your report, will look into is ASAP

@warren830
Copy link
Contributor

Hi @ibrahimejaz , can you provide more detail? And what is your mysql configuration? Can you check two configs as below?
--character-set-server=utf8mb4
--collation-server=utf8mb4_bin

@warren830
Copy link
Contributor

Hi @ibrahimejaz , can you run the following scripts to change collation, then run the sonarqube bp again:
ALTER TABLE _tool_sonarqube_projects CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
ALTER TABLE _tool_sonarqube_issues CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
ALTER TABLE _tool_sonarqube_issue_code_blocks CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
ALTER TABLE _tool_sonarqube_hotspots CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
ALTER TABLE _tool_sonarqube_file_metrics CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
ALTER TABLE _tool_sonarqube_accounts CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
ALTER TABLE cq_projects CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
ALTER TABLE cq_issues CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
ALTER TABLE cq_issue_code_blocks CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
ALTER TABLE cq_file_metrics CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;

@ibrahimejaz
Copy link
Author

Have updated the DB but still see the data missing when compared it with actual sonarqube dashboard and devlake/sonarqube dashboard.

@abeizn
Copy link
Contributor

abeizn commented Mar 20, 2023

@ibrahimejaz
After updating the database, whether to rerun the blueprint of sonarqube?

@abeizn abeizn reopened this Mar 20, 2023
@ibrahimejaz
Copy link
Author

Yes I've rerun transformation again @abeizn

@abeizn
Copy link
Contributor

abeizn commented Apr 3, 2023

Yes I've rerun transformation again @abeizn

@ibrahimejaz There are still problems, right?

@ibrahimejaz
Copy link
Author

Yes @abeizn

@abeizn
Copy link
Contributor

abeizn commented May 12, 2023

@ibrahimejaz
Sorry, I missed the news, we are now upgraded to v0.16.0 official version or v0.17.0-beta4, these versions have fixes for sonarqube.

@Startrekzky Startrekzky changed the title [Bug][Module Name] Bug title Issue with Sonarqube dashboard. [Bug][Dashboard] Wrong bug title in the Sonarqube dashboard May 15, 2023
@Startrekzky
Copy link
Contributor

This issue has been solved. Feel free to reopen it if it still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants