Actions
Bug #15204
closed'hammer sync-plan info' doesn't return start date
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1336790
Description of problem:
'hammer sync-plan info' returns empty value for 'Start Date' field. Regression introduced in SNAP 11, wasn't reproducible in SNAP 10.
Version-Release number of selected component (if applicable):
Sat 6.2.0 GA SNAP 11
How reproducible:
Always
Steps to Reproduce:
1. Create sync plan with start date specified, e.g.:
hammer sync-plan create --name Test01 --sync-date "2016-05-18 10:10:10" --organization-id 1 --interval 'weekly' --enabled 1
2. Get previously created sync plan details by 'hammer sync-plan info' command
3.
Actual results:
'Start Date' is empty:
- hammer sync-plan info --id 2
ID: 2
Name: Test01
Start Date:
Interval: weekly
Enabled: yes
Description:
Created at: 2016/05/17 12:55:14
Updated at: 2016/05/17 12:55:14
Expected results:
'Start Date' field should reflect sync plan's start date:
- hammer sync-plan info --id 2
[Foreman] Password for admin:
ID: 2
Name: Test01
Start Date: 2016/05/18 10:10:10
Interval: weekly
Enabled: yes
Description:
Created at: 2016/05/17 12:55:14
Updated at: 2016/05/17 12:55:14
Additional info:
Actions