Bug #26159
closedActivationKey Repository Sets show "old" name of repository
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.
- Add Product named "P1" with Repository named "R1"
- Create ContentView, add R1 to it, create new CV-Version and promote it to a Lifecycle Env.
- Create ActivationKey pointing to the created ContentView
- Repository-Sets Tab of the Activation Key will show "Repository-Name=R1" and "Product=P1"
- 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.
Updated by Quirin Pamp about 6 years ago
I would say that this is definitely a bug from the users point of view.
Updated by Andrew Kofink about 6 years ago
- Target version set to Katello Backlog
- Triaged changed from No to Yes
Updated by Brad Buckingham almost 6 years ago
The root cause for this one may be similar as the cause for: https://projects.theforeman.org/issues/26466
Updated by The Foreman Bot almost 6 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
Updated by Anonymous almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|660fec0fca2c016ac053528d3ea0af1d7f883bfb.