Project

General

Profile

Actions

Bug #17489

closed

Inconsistent Package Name when Uploading content into Repository via Web UI and Hammer CLI

Added by James Payne almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Fixed in Releases:
Found in Releases:

Description

When uploading to the Katello via Hammer and via the Web UI we are seeing inconsistent package names in the respository.

Steps to replicate:

Given RPM repository with ID 123
hammer -u USER -p PASS repository upload-content --id 123 --path /root/package-1.0.0-119.x86_64.rpm

Resulting name in UI = package-119.x86_64.rpm-master-119.x86_64

Importing into the same repository with the same package via the Web UI results = package-1.0.0-119.x86_64


Related issues 1 (0 open1 closed)

Related to Katello - Bug #19063: Regression: Package name incorrect after package uploadClosedPartha Aji03/29/2017Actions
Actions #1

Updated by James Payne almost 8 years ago

James Payne wrote:

When uploading to the Katello via Hammer and via the Web UI we are seeing inconsistent package names in the respository.

Steps to replicate:

Given RPM repository with ID 123
hammer -u USER -p PASS repository upload-content --id 123 --path /root/package-1.0.0-119.x86_64.rpm

Resulting name in UI = package-119.x86_64.rpm-master-119.x86_64

Importing into the same repository with the same package via the Web UI results = package-1.0.0-119.x86_64

Sorry typos above:

Resulting name in UI from CLI Import = package-1.0.0-119.x86_64.rpm-master-119.x86_64
Resulting name in UI from Web Import = package-1.0.0-119.x86_64

Actions #2

Updated by Eric Helms almost 8 years ago

  • Category set to Hammer
  • Status changed from New to Assigned
  • Assignee set to Eric Helms
Actions #3

Updated by Eric Helms over 7 years ago

  • Translation missing: en.field_release set to 219
Actions #4

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6652 added
Actions #5

Updated by Eric Helms over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by The Foreman Bot over 7 years ago

  • Pull request https://github.com/Katello/katello/pull/6662 added
Actions #7

Updated by Klaas D over 7 years ago

  • Related to Bug #19063: Regression: Package name incorrect after package upload added
Actions

Also available in: Atom PDF