Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-131822

leapp incorrectly handles PES events related to packages present in multiple repositories

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.8
    • leapp-repository
    • None
    • None
    • rhel-upgrades
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      The issue

      leapp incorrectly handles PES events related to packages which are present in multiple repositories.

      How reproducible is this bug?:

      I've been able to reproduce the issue.

      Expected results

      leapp should properly handle PES events for packages present in multiple repositories.
      If a packages is unambiguously identified by repoid matching our data, use the right PES event.

      Actual results

      When two PES events each state that a package is present in two different repositories, leapp currently picks the repository which is specified in the event that comes second in the pes-event.json file, which is incorrect. Seems like this is just coincidental.
      (technical note, this is because of how the_hash_() function is implemented)

              leapp-notifications leapp-notifications
              rh-ee-mmatuska Matej Matuska
              leapp-notifications leapp-notifications
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: