]> source.dussan.org Git - sonarqube.git/commit
SONAR-2137: Fix updating of past violations
authorEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 1 Feb 2011 20:57:10 +0000 (23:57 +0300)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 1 Feb 2011 21:39:03 +0000 (00:39 +0300)
commit356f32fa759fdf4b9801194b26fc8dcc877dc3fc
tree6e48f20cb0273375efe070cd58e66de00a8a30e5
parent86d1d2abb3ffbd31a2dde9d32f58643a06934680
SONAR-2137: Fix updating of past violations

* Database field rule_failures.failure_level should be updatable

* Change corresponding unit test
sonar-batch/src/test/java/org/sonar/batch/index/ViolationPersisterTest.java
sonar-batch/src/test/resources/org/sonar/batch/index/ViolationPersisterTest/shouldUpdateViolation-result.xml
sonar-plugin-api/src/main/java/org/sonar/api/database/model/RuleFailureModel.java