Bug 1003041

Summary: Wrong error message list item in case new filter with start date after end date is submitted
Product: [Retired] Subscription Asset Manager Reporter: mkovacik
Component: SpliceAssignee: Splice Developers <splice-devel>
Status: CLOSED WONTFIX QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.3CC: cduryee, mkovacik
Target Milestone: rcFlags: mkovacik: automate_bug+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-26 20:36:10 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:
Bug Depends On:    
Bug Blocks: 971511    
Attachments:
Description Flags
Wrong error message screenshot none

Description mkovacik 2013-08-30 14:49:29 UTC
Created attachment 792206 [details]
Wrong error message screenshot

Description of problem:
Instead of the Error List Item "The filter start date must be an earlier date than the filter end date", Error List Item "Both the hour and date criteria of the filter are blank" is shown when a filter is submitted created with just the date criteria field filled with wrong date range: end date before start date

Version-Release number of selected component (if applicable):
Sam 1.3 Snapshot #4

How reproducible:
Always

Steps to Reproduce:
1. navigate: Administration -> Reports -> New Filter
2. select date range criteria and put end date before start date
3. submit
4. displayed error message pop-up window contains wrong message for the error case (last error message list item shown)

Actual results:
"Both the hour and date criteria of the filter are blank" message is shown

Expected results:
"The filter start date must be an earlier date than the filter end date" is shown

Additional info:
see attached screenshot

Comment 1 Chris Duryee 2013-09-03 20:09:45 UTC
Milan,

This works for me on my instance, I'll ping you tomorrow so we can repro on your machine.

Comment 2 Chris Duryee 2013-09-04 13:50:34 UTC
The bug is that if you put a date like "8/32/2013", it will give a "date cannot be blank" message.

Comment 3 Bryan Kearney 2017-06-26 20:36:10 UTC
The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf.

I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you!