Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-8744

P2 virtual config fails on multiple local repositories

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.0.2, 4.2.2, 4.3.0, 4.4.2
    • Fix Version/s: 4.6.0
    • Component/s: P2
    • Labels:
      None

      Description

      When adding more than one local repository to a virtual repository it fails with the error:

      "Repository 'p2-virtual' aggregates another repository 'p2-local2' that has a mismatching package type Generic"

      This is due to the 4.x code validating that all virtuals contain only packages of their type, but an exception must be made for P2 which has Generic repositories for locals.

      Steps to reproduce:

      1) Create two local generic repositories
      2) Add them both to a P2 virtual repository and click 'Save'

        Attachments

          Activity

            People

            • Assignee:
              shayy Shay Yaakov (Inactive)
              Reporter:
              aaronr Aaron Rhodes
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: