Bug 853229

Summary: Regression in error notification when sync plan time is left blank
Product: Red Hat Satellite Reporter: Jeff Weiss <jweiss>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Og Maciel <omaciel>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: dajohnso, dmacpher, dmitri, gstoecke, jsherril, mmccune, omaciel, sachua
Target Milestone: UnspecifiedKeywords: Regression, TestBlocker, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The error message "Date and Time can't be blank" became an unexpected generic error message with a stack trace. This fix provides users with an accurate error message.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:52:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Weiss 2012-08-30 19:38:32 UTC
Description of problem:
Used to say "Date and Time can't be blank", now says "invalid date (ArgumentError) Click here for more details." with a link to the stack trace.  This is a validation notification, it shouldn't show up as some unexpected generic error with a stack trace.

Version-Release number of selected component (if applicable):
Katello Version: 1.1.8-1.git.78.a921544.el6_3 

How reproducible:


Steps to Reproduce:
1. Create a sync plan, blank out the date textfield
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 4 Justin Sherrill 2012-09-12 13:37:02 UTC
pull request initiated:
https://github.com/Katello/katello/pull/647

Comment 5 Justin Sherrill 2012-09-12 18:02:35 UTC
master commit: 5a827ba

Comment 7 Og Maciel 2012-09-28 21:42:03 UTC
Verified using:

* candlepin-0.7.8-1.el6cf.noarch
* candlepin-selinux-0.7.8-1.el6cf.noarch
* candlepin-tomcat6-0.7.8-1.el6cf.noarch
* katello-1.1.12-9.el6cf.noarch
* katello-all-1.1.12-9.el6cf.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.1.8-1.el6cf.noarch
* katello-cli-1.1.8-5.el6cf.noarch
* katello-cli-common-1.1.8-5.el6cf.noarch
* katello-common-1.1.12-9.el6cf.noarch
* katello-configure-1.1.9-4.el6cf.noarch
* katello-glue-candlepin-1.1.12-9.el6cf.noarch
* katello-glue-pulp-1.1.12-9.el6cf.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-qpid-client-key-pair-1.0-1.noarch
* katello-selinux-1.1.1-1.el6cf.noarch
* pulp-1.1.12-1.el6cf.noarch
* pulp-common-1.1.12-1.el6cf.noarch
* pulp-selinux-server-1.1.12-1.el6cf.noarch

Comment 9 errata-xmlrpc 2012-12-04 19:52:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1543.html