Publish a Content View version fails

Publish a Content View version fails. The new version is not published.

Expected outcome:
A new Content View ready to be promoted.

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:
CentOS Linux release 7.8.2003 (Core)

Other relevant data:
$ hammer content-view publish --name "OEL7" --organization "Test Environment"
Could not publish the content view: undefined local variable or method 'repository_mapping' for #<Actions::Katello::Repository::MultiCloneContents:0x0000000014a16b98>

Hi @dsilva,

This is a known issue and will be fixed in Katello 3.16.1. It’s going to be released shortly.

If you need an immediate fix, you can try applying this PR:

Hi @iballou,

I applied the PR you mentioned and it fixed the issue successfully.

Thanks for your quick response.

1 Like