]> source.dussan.org Git - sonarqube.git/commit
SONAR-5007 fix bug related to synchronization of rule parameters
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 7 Jul 2014 19:58:14 +0000 (21:58 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 7 Jul 2014 19:58:30 +0000 (21:58 +0200)
commitbfc542961446b8de587de32fd88de902123614d1
tree6340bd4531118fd177bc29385b1b00862b6674a8
parent237a04796fd693fa5b8e435884c7e2f2653340a1
SONAR-5007 fix bug related to synchronization of rule parameters

* removal of rule parameter must be propagated to active rules
* addition of rule parameter with default value must be propagated to active rules
sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml
sonar-server/src/main/java/org/sonar/server/qualityprofile/db/ActiveRuleDao.java
sonar-server/src/main/java/org/sonar/server/rule/RegisterRules.java
sonar-server/src/test/java/org/sonar/server/rule/RegisterRulesMediumTest.java