Bug 1024306 - Creating a sync plan with blank start date raises #<SyncPlansController:0x0000000579f540> (NameError)
Summary: Creating a sync plan with blank start date raises #<SyncPlansController:0x000...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-29 11:20 UTC by Sachin Ghai
Modified: 2019-09-25 20:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:06:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
#<SyncPlansController:0x0000000579f540> (NameError) on creating a sync plan without startdate (64.79 KB, image/png)
2013-10-29 11:20 UTC, Sachin Ghai
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.