Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-16138

Improve message in portfolio migration when root/parent cannot be found

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.5
    • Component/s: Database
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Improve message in migration org.sonar.server.platform.db.migration.version.v91.MigratePortfoliosToNewTables , so that instead of NPE it will show root cause of the issue:

      Could not find root/parent portfolio with key: portoflio1, please verify and fix consistency of portfolios definition
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              antoine.vinot Antoine Vinot
              Reporter:
              jacek.poreda Jacek Poreda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: