Project

General

Profile

Bug #15204

'hammer sync-plan info' doesn't return start date

Added by Zach Huntington-Meath over 2 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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:

  1. 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:

  1. 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:

Associated revisions

Revision 59b43952 (diff)
Added by Zach Huntington-Meath over 2 years ago

Fixes #15204 - Reformat Sync Plan start date to work with hammer.

Revision b229a4bd
Added by Brad Buckingham over 2 years ago

Merge pull request #6069 from zjhuntin/fix_sync_plan

Fixes #15204- Reformat Sync Plan start date to work with hammer.

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6069 added

#2 Updated by Eric Helms over 2 years ago

  • Legacy Backlogs Release (now unused) set to 143

#3 Updated by Zach Huntington-Meath over 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF