Project

General

Profile

Actions

Bug #26159

closed

ActivationKey Repository Sets show "old" name of repository

Added by Markus Bucher about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Activation Key
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Not sure if this is a bug:
When I change the name of a Product's Repository, the change is not reflected in the Repository-Sets tab of the Activation-Key.

Reproducable by:
  1. Add Product named "P1" with Repository named "R1"
  2. Create ContentView, add R1 to it, create new CV-Version and promote it to a Lifecycle Env.
  3. Create ActivationKey pointing to the created ContentView
  4. Repository-Sets Tab of the Activation Key will show "Repository-Name=R1" and "Product=P1"
  5. Change name of Repository to "R2"

Expected:
Repository-Sets tab of the Activation Key should show "Repository-Name=R2"

Actual:
Repository-Set tab still shows "Repository-Name=R1", which can make it quite confusing

I understand this is because the Repository Sets tab shows objects of model-class Katello::Content and not Katello::Repository(Root).
Katello::Content having its own name-field, which is not automatically updated if repository-name changes.

Actions #1

Updated by Quirin Pamp about 5 years ago

I would say that this is definitely a bug from the users point of view.

Actions #2

Updated by Andrew Kofink about 5 years ago

  • Target version set to Katello Backlog
  • Triaged changed from No to Yes
Actions #3

Updated by Brad Buckingham almost 5 years ago

The root cause for this one may be similar as the cause for: https://projects.theforeman.org/issues/26466

Actions #4

Updated by Samir Jha almost 5 years ago

  • Category set to Activation Key
Actions #5

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Samir Jha
  • Pull request https://github.com/Katello/katello/pull/8146 added
Actions #6

Updated by Anonymous almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF