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

Moving a portfolio local reference generates portfolio orphans

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 7.3
    • Component/s: None
    • Edition:
      Enterprise

      Description

      Moving a local reference to portfolio x generates a copy of portfolio x. The copy is considered as a root portfolio and can't be deleted. The root cause is in the web service api/views/move.

      Reproducer

      • create portfolio 1
      • create subporfolio 11 in 1
      • create portfolio 2
      • add a reference to portfolio 2 inside subportfolio 11
      • move reference from subportfolio 11 to portfolio 1
      • the list of portfolios displays three portfolios instead of two

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eric.hartmann Eric Hartmann
                Reporter:
                simon.brandhof Simon Brandhof
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: