Bug #7093
closedHammer remove-sync-plan adds sync-plan instead of removing it
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1121136
Description of problem:
1) afaik, product can have at most one syncplan assigned to itself
2) therefore I should be able to "hammer -d -v -u admin -p changeme product remove-sync-plan --id='95'" to remove any asociated syncplan
3) in reality, error "(option '--sync_plan_id' is required)" is returned
4) if I supply valid sync-plan-id it is not removed, but set as the products sync-plan
i.e: hammer -d -v -u admin -p changeme product remove-sync-plan --id='95' --sync-plan-id='14'
actually sends:
[ INFO 2014-07-18 08:49:11 API] PUT /katello/api/products/95
[DEBUG 2014-07-18 08:49:11 API] Params: {
"sync_plan_id" => "14"
}
Updated by The Foreman Bot over 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 54
- Pull request https://github.com/Katello/hammer-cli-katello/pull/222 added
- Pull request deleted (
)
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|6f7e3d1178dd69285c78b3fa8c924947edc7100c.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13