]> source.dussan.org Git - sonarqube.git/commit
SONAR-5580 Migration issue to SQ 4.4 when the quality profile used to analyze the...
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 15 Sep 2014 13:54:45 +0000 (15:54 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 15 Sep 2014 13:54:45 +0000 (15:54 +0200)
commitadd64436be2fc275aa2578dc6a4eeab427b41208
tree37fc54969d9b3e9e420a5893fc0993401b15f3fb
parent824a5d0ba8caeea4b8287da4066609a8bfa5268d
SONAR-5580 Migration issue to SQ 4.4 when the quality profile used to analyze the last version of a project has been removed before the migration
13 files changed:
server/sonar-server/src/main/java/org/sonar/server/db/migrations/DatabaseMigrations.java
server/sonar-server/src/main/java/org/sonar/server/db/migrations/v44/ConvertProfileMeasuresMigration.java
server/sonar-server/src/main/java/org/sonar/server/db/migrations/v45/DeleteMeasuresOnDeletedProfilesMigration.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/db/migrations/v44/ConvertProfileMeasuresMigrationTest.java
server/sonar-server/src/test/java/org/sonar/server/db/migrations/v45/DeleteMeasuresOnDeletedProfilesMigrationTest.java [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v44/ConvertProfileMeasuresMigrationTest/measure_on_deleted_profile.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v45/DeleteMeasuresOnDeletedProfilesMigrationTest/before.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v45/DeleteMeasuresOnDeletedProfilesMigrationTest/schema.sql [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/584_delete_measures_on_deleted_profiles.rb [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java
sonar-core/src/main/java/org/sonar/core/persistence/migration/v44/Migration44Mapper.java
sonar-core/src/main/resources/org/sonar/core/persistence/migration/v44/Migration44Mapper.xml
sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql