Bug #9819
Cannot use ``none`` for Sync Plan interval
Difficulty:
Triaged:
Yes
Description
If you pass none as the interval for a Sync Plan you get an error.
Turns out not even the API or UI allow you to create a sync plan with no
interval set.
I have updated the code to no longer list none as a valid option and
set weekly as the new default value.
Also, a default value is no longer provided for the sync_date field.
Associated revisions
History
#1
Updated by Anonymous about 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|97e93853139c616e1e67fef93402434bf54e7a80.
#2
Updated by Eric Helms about 8 years ago
- Target version set to 68
- Legacy Backlogs Release (now unused) set to 23
- Triaged changed from No to Yes
Fixes #9819 - No default values for Sync Plans.
If you pass ``none`` as the interval for a Sync Plan you get an error.
Turns out not even the API or UI allow you to create a sync plan with no
interval set.
I have updated the code to no longer list ``none`` as a valid option and
set ``weekly`` as the new default value.
Also, a default value is no longer provided for the ``sync_date`` field.