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

Error message not readable #360

Closed
hwacookie opened this issue Mar 26, 2021 · 3 comments
Closed

Error message not readable #360

hwacookie opened this issue Mar 26, 2021 · 3 comments

Comments

@hwacookie
Copy link

Sonar version: 8.4.2.36762

Checkstyle sonar plugin version: 8.4

Steps to reproduce or description of problem:

  1. Create a new Quality Profile for Java that includes Checkstyle-Settings
  2. Try to import the checkstyle settings .xml file

The import will fail because checkstyle rule templates cannot be imported anymore, unfortunatly ((see #356)

But in addition to that, one can also not read the error message that pops up which could be helpful to filter out all the settings that cannot be imported. See screenshot below:

image

@romani
Copy link
Member

romani commented Mar 28, 2021

I doubt plugin have ability to extend message in sonar.
Inspection in browser is only way to see it.

It is same as #356 .

Heh, import of xml is broken #2 . We need contributors to fix it or investigate it.

@hwacookie
Copy link
Author

Then this should be fixed in sonar itself, or the plugin should maybe use some other way to communicate with the user. As it stands right now, the error message is not really helpful.

@muhlba91
Copy link
Collaborator

closing issue as stale - this is related to sonar itself, and import is not yet supported either. please refer to #2. happy to reopen it if issue gets traction from other users.

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

3 participants