]> source.dussan.org Git - sonarqube.git/commit
SONAR-13802 Fix NPE when component favorite orphan selected
authorJacek <jacek.poreda@sonarsource.com>
Wed, 26 Aug 2020 08:16:58 +0000 (10:16 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 26 Aug 2020 20:06:43 +0000 (20:06 +0000)
commit2e95a6d9729ad591ef16c950453529a704d534db
treedaa9bf0fc419980c128f6817ce6a0b51bff56fe6
parent60c64b2c9f95bb52d070758fa88a3881ae69b5e7
SONAR-13802 Fix NPE when component favorite orphan selected
 - db migration
 - web api fixes
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v85/DbVersion85.java
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v85/DropOrphanFavoritesFromProperties.java [new file with mode: 0644]
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v85/DropOrphanFavoritesFromPropertiesTest.java [new file with mode: 0644]
server/sonar-db-migration/src/test/resources/org/sonar/server/platform/db/migration/version/v85/DropOrphanFavoritesFromPropertiesTest/schema.sql [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/component/ws/ComponentViewerJsonWriter.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/component/ws/SearchProjectsAction.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SearchProjectsActionTest.java