]> source.dussan.org Git - sonarqube.git/commit
SONAR-3102 Fix issues on reviews when a user is deleted from the DB
authorFabrice Bellingard <bellingard@gmail.com>
Mon, 13 Feb 2012 16:58:39 +0000 (17:58 +0100)
committerFabrice Bellingard <bellingard@gmail.com>
Mon, 13 Feb 2012 16:58:39 +0000 (17:58 +0100)
commit4677430bfe3da77a26dd23ae3e9296952e0bb40c
tree9e1fd25f21f6b588e75c33f6e382a424647b6c4c
parent6c8f70c624e7180070e03d9f95106e2c097ee1a6
SONAR-3102 Fix issues on reviews when a user is deleted from the DB

It was not possible to see or update a review which had been created/
assigned/commented by a deleted user.

=> A migration script cleans the DB and the constraint on review
   author is now removed
sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java
sonar-server/src/main/webapp/WEB-INF/app/models/review.rb
sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/_review.html.erb
sonar-server/src/main/webapp/WEB-INF/db/migrate/260_fix_reviews_with_deleted_user.rb [new file with mode: 0644]