Bug 1024306

Summary: Creating a sync plan with blank start date raises #<SyncPlansController:0x0000000579f540> (NameError)
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.2CC: cwelton, mmccune, walden
Target Milestone: UnspecifiedKeywords: Regression
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:06:13 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:
Attachments:
Description Flags
#<SyncPlansController:0x0000000579f540> (NameError) on creating a sync plan without startdate none

Description Sachin Ghai 2013-10-29 11:20:11 UTC
Created attachment 817055 [details]
#<SyncPlansController:0x0000000579f540> (NameError) on creating a sync plan without startdate

Description of problem:
Create a sync plan and just blank out the default start date and save it.
UI throws following error instead of a validation error:

-----
    undefined local variable or method `log' for #<SyncPlansController:0x0000000579f540> (NameError)
    Click here for more details.
------

Version-Release number of selected component (if applicable):
Snap7 compose2 (MDP2)

How reproducible:
always

Steps to Reproduce:
1. Create a sync plan without start-date
2.
3.

Actual results:
    undefined local variable or method `log' for #<SyncPlansController:0x0000000579f540> (NameError)
    Click here for more details.

Expected results:
UI should raise a proper validation error

Additional info:

Comment 3 Walden Raines 2014-04-09 21:40:31 UTC
This is no longer valid with the new UI.  You cannot save the form if you remove the start date.

Comment 4 Corey Welton 2014-05-05 19:50:40 UTC
Verified in Satellite-6.0.3-RHEL-6-20140430.4, user can no longer submit a sync plan with no start date.

Comment 5 Bryan Kearney 2014-07-02 14:06:13 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.