Actions
Bug #36844
closedAdd error handling in repo sync when trying to sync non-library repos
Description
hammer> repository sync --id 321 --organization-id 1
Could not synchronize the repository:
undefined method `id' for nil:NilClass
hammer>
This is error sync raises from this action: `plan_action(Katello::Foreman::ContentUpdate, repo.environment, repo.content_view, repo)` when syncing non-library repos.
We shouldn't be planning sync action at all for non-library repos and the call should fail early and with proper error handling.
Updated by The Foreman Bot about 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/10778 added
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases Katello 4.11.0 added
Updated by Samir Jha about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|2831bae1c7f80dcd435dd4eae7b2b38a632fd76a.
Actions