Bug #15513
closedmirror-on-sync option is not set properly during repository create
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1348070
Creating a repository with --mirror-on-sync=false results in the repository being created, but 'Mirror on Sync' is actually still set to true.
To reproduce (6.2.0 Beta2)
hammer product create --name='product1' --organization-id=1
hammer repository create \
--name='testrepo1' \
--organization-id=1 \
--product='product1' \
--content-type='yum' \
--publish-via-http=false \
--mirror-on-sync=false \
--download-policy=immediate
hammer repository info --product='product1' --name='testrepo1'
(This does not show the state of the Mirror on Sync option)
Login to the WebUI and navigate to the new repo shows Mirror on Sync = Yes
Updated by Brad Buckingham over 8 years ago
- Subject changed from hammer mirror-on-sync option does not work to mirror-on-sync option is not set properly during repository create
- Assignee set to Brad Buckingham
- Difficulty set to easy
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6149 added
Updated by Brad Buckingham over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|b912b815d74f6f4bf17ffb17a93cec4fe37ad310.
Updated by Justin Sherrill over 8 years ago
- Translation missing: en.field_release set to 143