Bug 1413777

Summary: Unable to create repositories when a Product has a disabled sync plan
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: Sync PlansAssignee: Partha Aji <paji>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.6Keywords: PrioBumpField
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-16 23:47:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike McCune 2017-01-16 23:43:38 UTC
1) Create a product with no repos

2) Create a syncplan, set Sync Enabled to false (uncheck the box)

3) Try to create a Docker repository in Product from step (1)

Note error:


2017-01-16 18:37:55 [foreman-tasks/action] [E] undefined method `iso8601' for nil:NilClass (NoMethodError)
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90/app/models/katello/sync_plan.rb:57:in `schedule_format'

it creates parts of the repo in the database, but not entirely and user is unable to proceed

Comment 2 Mike McCune 2017-01-16 23:47:38 UTC

*** This bug has been marked as a duplicate of bug 1410939 ***