Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-4085

externalsToRevisionMappings entries not removed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Obsolete
    • Affects Version/s: 2.2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Standalone, Ubuntu Hardy, JDK 1.6.0.06

      Description

      In the build configuration, the Source Repository tab displays a list of Externals Paths & Revisions.

      This is information is stored in the database column: BUILD_DEFINITION.XML_DEFINITION_DATA; in the following xpath: /configuration/repository/svn/externalsToRevisionMappings.

      When the svn:externals on the repository changes, new entries are added to this list; but old entries are not removed. So the list ends up showing more externals than are actually used.
      Luckily, the 'Detect changes in externals option' correctly detects only changes in the actual externals used, and not any of the superfluous entries.

      You should be able to look at the Source Repository tab and see an accurate list of externals.

      To replicate:

      1) Configure a repository URL with the following svn:externals property:

      TestA https://<path to some repository location>
      TestB https://<path to some other repository location>

      2) Create a build plan pointing at this URL. After saving, check the Source Repository tab (you should see "TestA" and "TestB" listed in the externals).

      3) Reconfigure the URL with the following svn:externals property:

      TestA https://<path to some repository location>
      TestC https://<path to a third repository location>

      4) Edit & resave the build plan, re-run the build etc.. The Source Repository tab will now list "TestA", "TestB" and "TestC" (even though TestB is not longer referenced anywhere).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              scotto74 Scott O'Hara
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: