Re: [ANN] SonarQube 6.1 RC1 is now available => not user-friendly to remove the last exclusion

173 views
Skip to first unread message

David Racodon

unread,
Sep 22, 2016, 4:21:16 AM9/22/16
to Fabrice Bellingard, SonarQube
Hi,

I had set an exclusion in the past. Now, I want to remove this exclusion because I updated to a new version of the Java plugin that fixes some false positives on this rule. When I click on the red cross and click on Save, I get the following error message. The only way to reset the last exclusion is to click on the Reset button. That is not really user-friendly from my point of view.




Regards,

David RACODON
Freelance QA Consultant

On Wed, Sep 21, 2016 at 11:49 AM, Fabrice Bellingard <fabrice.b...@sonarsource.com> wrote:
Hi SonarQube Community,

Here is the first public release candidate of SonarQube 6.1.

The main features and noteworthy of this 6.1 version are:
  • Redesign of the Settings pages and new Web Services
    • Global and Project Settings pages have been fully rewritten
    • They are backed by a brand new set of Web Services that advantageously replace the (now deprecated) old Properties Web Services: they are consistent with other Web Services, well documented, they correctly manage inheritance and default values, multi-value and property sets are handled more easily.
  • More actionnable Leak information on Project Home page 
    • Everything displayed in the Leak area is now clickable to get exact details of what's happening on a project during this period (duplications have been added).
  • First steps towards clustering capabilities of SonarQube
    • This point is not yet a usable feature per se: it consists of the first steps (stateless web sessions, remove web caches, ... etc) that must be achieved before reaching a real end-user clustering feature. Still this is worth being mentioned in this announcement as this is invisible but heavy work that's currently being done for SonarQube.com.
And obviously as usual, this version comes with lots of bug fixes and other small improvements.


To help us test this new version, here's all what you need to know:

Any feedback is highly appreciated.
Enjoy!


Best regards,

Fabrice BELLINGARD | SonarSource
SonarQube & SonarLint Product Manager
http://sonarsource.com

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/CA%2BPhQbuoV_9iMutzVuoKymF_pfHmsOHAheE0EWqwgM8v_Y1tOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

David Racodon

unread,
Sep 22, 2016, 4:25:29 AM9/22/16
to Fabrice Bellingard, SonarQube
Moreover, after a reset, you get an empty new line for ever that you cannot delete:



Thus your analysis always crashes:

 Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: Unable to load component class org.sonar.scanner.sensor.DefaultSensorStorage
ERROR: Caused by: Unable to load component class org.sonar.scanner.issue.ModuleIssues
ERROR: Caused by: Unable to load component class org.sonar.scanner.issue.IssueFilters
ERROR: Caused by: Unable to load component class org.sonar.scanner.issue.ignore.EnforceIssuesFilter
ERROR: Caused by: Unable to load component class org.sonar.scanner.issue.ignore.pattern.IssueInclusionPatternInitializer
ERROR: Caused by: Exclusions > Issues : Invalid format. The first field does not define a resource pattern: ,,*

And the only way to make it work again is to set a fake exclusion...

Note also that you should update the error message with something like "Analysis Scope > Issues".

David RACODON
Freelance QA Consultant

On Thu, Sep 22, 2016 at 10:21 AM, David Racodon <david....@gmail.com> wrote:
Hi,

I had set an exclusion in the past. Now, I want to remove this exclusion because I updated to a new version of the Java plugin that fixes some false positives on this rule. When I click on the red cross and click on Save, I get the following error message. The only way to reset the last exclusion is to click on the Reset button. That is not really user-friendly from my point of view.




Regards,

David RACODON
Freelance QA Consultant

stas.v...@sonarsource.com

unread,
Sep 22, 2016, 5:35:46 AM9/22/16
to SonarQube, fabrice.b...@sonarsource.com
Hi David,

Could you check the setting's value on a global level?

I'm pretty sure it's set to "one empty row", that's why the reset action on a project level sets the value like that.




Regards,
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.

David Racodon

unread,
Sep 22, 2016, 6:04:59 AM9/22/16
to Stas Vilchik, SonarQube, Fabrice Bellingard
Hi Stas,

Let's start with a first use case.

At global level:



At project level:



At project level, I have no way to remove the exclusion ppp/ppp by clicking on the red cross (error message) => It should be possible to do so.

If I click on the Reset button, I expect the ppp/ppp line to be removed. But instead, it copies the global exclusion xxx/xxx. That is not what I expect...

Regards,

David RACODON
Freelance QA Consultant

To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/b140fe64-9d5f-436e-85a7-80a45a863445%40googlegroups.com.

stas.v...@sonarsource.com

unread,
Sep 22, 2016, 7:18:40 AM9/22/16
to SonarQube, stas.v...@sonarsource.com, fabrice.b...@sonarsource.com
We are currently not supporting storing of empty values. So if you have a value set on a global level, on project level you have to use it or provide a new non-empty one.

David Racodon

unread,
Sep 22, 2016, 10:11:56 AM9/22/16
to Stas Vilchik, SonarQube, Fabrice Bellingard
Hi Stas,

As I said in my previous email, let's start with my first use case.
You should be able to reproduce it. And there is no empty value set either at global or project level.

Regards,

David RACODON
Freelance QA Consultant

To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/84e65b84-9076-469d-bcba-9f58bbcc4c46%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages