Project

General

Profile

Actions

Bug #35834

closed

Setting a Content Source is not persistent

Added by Lucy Fu over 1 year ago. Updated 12 months ago.

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

Description

Description of problem:

Saving a Content Source appears to work but on reopening the Edit view the setting is blank.

If you set Lifecycle Environment and Content View, and then Content Source, the Media, Partition Table, and Root Password settings are lost and have to be reselected.

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:
1. Create a host with the follow values:
make_fake_host( {
'organization-id': module_host_template.organization.id,
'architecture-id': module_host_template.architecture.id,
'domain-id': module_host_template.domain.id,
'location-id': module_host_template.location.id,
'medium-id': module_host_template.medium.id,
'operatingsystem-id': module_host_template.operatingsystem.id,
'partition-table-id': module_host_template.ptable.id,
}
2. Open the host for editing and select a Content Source, Submit to save the changes.
3. Open the host for editing and check the Content Source to see if the change persisted.
4. Select the Lifecycle Environment and Content View, and then Content Source. Try to submit the changes.

Actual results:
A change to the Content Source does not persist.
The Media, Partition Table, and Root Password settings are lost and have to be reselected.

Expected results:
A change to the Content Source does persist.
The Media, Partition Table, and Root Password settings are not lost.

Additional info:
Test is using fake capsules

Actions #1

Updated by Lucy Fu over 1 year ago

  • Subject changed from Setting a Content Source is not persistent to Setting a Content Source is not persistent

content source needs both selected Lifecycle Environment and Content View to be saved.
If either Lifecycle Environment or Content View is not selected, a content facet would not be created
which would cause content source not be saved.

Actions #2

Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lucy Fu
  • Pull request https://github.com/Katello/katello/pull/10380 added
Actions #3

Updated by Lucy Fu over 1 year ago

  • Target version set to Katello 4.8.0
  • Triaged changed from No to Yes
Actions #4

Updated by Lucy Fu about 1 year ago

  • Target version changed from Katello 4.8.0 to Katello 4.9.0
Actions #5

Updated by The Foreman Bot 12 months ago

  • Fixed in Releases Katello 4.9.0 added
Actions #6

Updated by Lucy Fu 12 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF