Bug 995132

Summary: [RFE] No difference between name error messages in reports new filter menu
Product: [Retired] Subscription Asset Manager Reporter: Pavlina Bartikova <pbartiko>
Component: SpliceAssignee: Chris Duryee <cduryee>
Status: CLOSED ERRATA QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.3CC: bkearney, cduryee, pbartiko
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1002114 (view as bug list) Environment:
Last Closed: 2013-10-01 11:17:48 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: 833466, 1002114    

Description Pavlina Bartikova 2013-08-08 15:25:50 UTC
Description of problem:
When adding a new filter in reports, there are two error messages for empty name field

How reproducible:
Always.

Steps to Reproduce:
1. Administer -> Reports
2. +NewFilter
3. confirm with empty name field

Actual results:
Error messages "Name can't be blank" and "Name must contain at least 1 character"

Expected results:
Only one of these messages.

Additional info:

Comment 1 Pavlina Bartikova 2013-08-08 15:32:44 UTC
It would be much better for QA testing, if the error messages didn't contain single quotes (Name can't be blank -> Name can not be blank).

Comment 2 Pavlina Bartikova 2013-08-08 16:31:56 UTC
The same problem is with Subscription status, messages "Status can't be blank" and "Please select at least one Subscription Status."
and with hour and date criteria, messages "Please choose either a date range or number of hours" and "Both the hour and date criteria of the filter are blank".

Comment 3 Chris Duryee 2013-08-08 18:43:09 UTC
ff2abe5 splice-reports 0.0.5-40

Comment 4 Chris Duryee 2013-08-08 18:44:25 UTC
Pavlina,

I fixed the majority of the issues, but left the "please choose a date range or number of hours" and "both the hour and date criteria of the filter are blank" errors, since they refer to different fields (radio button vs text field).

Comment 5 Pavlina Bartikova 2013-08-21 13:29:53 UTC
Confirmed.

Moving bug to VERIFIED.

Comment 6 Pavlina Bartikova 2013-08-21 15:24:52 UTC
There is no difference between "Please choose either a date range or number of hours" and "Both the hour and date criteria of the filter are blank" messages.

Moving bug back to ASSIGNED.

Comment 8 Pavlina Bartikova 2013-08-28 13:49:59 UTC
Bug was cloned for SAM 1.4, https://bugzilla.redhat.com/show_bug.cgi?id=1002114.

Moving to VERIFIED.

Comment 10 errata-xmlrpc 2013-10-01 11:17:48 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/RHEA-2013-1390.html