Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1009

Update parse_pkg_string error message

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • 2023-Q2
    • Testable

      Whenever one or more fields can't be parsed by the parse_pkg_string, an error message will be raised and the content of that message may look confusing for the user, as it states that the correct package format should be used:

      [05/11/2023 09:11:09] DEBUG - Failed to parse a package: Invalid package string - gpg-pubkey-0:2f86d6a1-5cf7cefb.(none), enter a package in one of the formats: NEVRA, NEVR, NVRA, NVR, ENVRA, ENVR.
      

      We need to update this message to make it clearer to the user that something went wrong while parsing the package string, but we should not ask for entering a package in a specific format.

      Acceptance Criteria

      • Error message is updated to make it more clear

            prwatson@redhat.com Preston Watson
            rolivier@redhat.com Rodolfo Olivieri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: