Bug #23733
closedError when changing or refreshing manifest
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1582221
Description of problem: Whenever I try to update
Version-Release number of selected component (if applicable): 6.4.0 snap 4
How reproducible: Always.
Steps to Reproduce:
1. Upload a manifest
2. Attach some content hosts
3. Attempt to refresh manifest.
Actual results: Error:
```
Error refreshing manifest. Validation failed: Hostgroups expecting hostgroups used by hosts or inherited (check mismatches report)., Domains expecting domains used by hosts or inherited (check mismatches report)., Subnets expecting subnets used by hosts or inherited (check mismatches report)., Compute resources expecting compute resources used by hosts or inherited (check mismatches report)., ApplicationRecord|Capsules expecting capsules used by hosts or inherited (check mismatches report)., Ptables expecting ptables used by hosts or inherited (check mismatches report).
```
Expected results: Refresh success
Additional info:
Talked to jsherril about this and we looked into this. He found when the update is happening the User context is nil.
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Stephen Benjamin
- Pull request https://github.com/Katello/katello/pull/7402 added
Updated by Andrew Kofink over 6 years ago
- Subject changed from Error when changing or refreshing manifest to Error when changing or refreshing manifest
- Translation missing: en.field_release set to 338
Updated by Stephen Benjamin over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|f8c98b77163e17a3643a71d0903361a45b01dd20.