![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
2.1 |
Assignee:
|
Simon Brandhof
|
Created:
|
25/Sep/13 6:03 PM
|
Description:
|
Hi,
I installed C# 2.1 and .NET 2.1 plugins both on Sonar 3.7 and 3.7.1.
The first time I restarted Sonar the default C# quality profile "Sonar way" was added but the StyleCop rules were missing (the others were ok with the proper priorities). So I added StyleCop rules manually but when I restarted Sonar all the rules disappeared. So I removed both the plugins, I re-added them and the quality profile "Sonar way" disappeared.
So I tried to create manually a profile adding the rules of StyleCop, FxCop and Gendarme but all the rules had the same priority (major).
I already tried to remove all those rules from the database (something like delete from rules where plugin_name = 'ndeps-cs' or plugin_name = 'common-cs' or plugin_name = 'csharpsquid' or plugin_name = 'fxcop' or plugin_name = 'fxcop-vbnet' or plugin_name = 'gendarme' or plugin_name = 'gendarme-vbnet' or plugin_name = 'ndeps-vbnet' or plugin_name = 'stylecop') but when they are automatically re-inserted (removing and re-adding the plugins) the priority column is set to 2 (=major, I suppose) and the quality profile is no more created.
Is there a way to clean the database from dirty data that could be remained? The lack of foreign keys doesn't help me so much ![]()
Let me know what kind of information could help you resolve this issue.
|
Environment:
|
Sonar 3.7 and 3.7.1
|
Project:
|
Mojo's Sonar Maven Plugin
|
Priority:
|
Blocker
|
Reporter:
|
Giacomo Boccardo
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email