Bug 536017 (RHQ-411) - "Required" error message on group definition change is unreadable
Summary: "Required" error message on group definition change is unreadable
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-411
Product: RHQ Project
Classification: Other
Component: Inventory
Version: unspecified
Hardware: All
OS: All
low
medium
Target Milestone: ---
: ---
Assignee: Joseph Marques
QA Contact: Jeff Weiss
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-399
TreeView+ depends on / blocked
 
Reported: 2008-05-01 20:17 UTC by Jason Dobies
Modified: 2014-11-09 22:49 UTC (History)
1 user (show)

Fixed In Version: 1.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
error.png (57.40 KB, image/png)
2008-05-01 20:17 UTC, Jason Dobies
no flags Details

Description Jason Dobies 2008-05-01 20:17:00 UTC
To reproduce:
- Create a resource group definition
- Click Edit
- Delete the definition name
- Click OK

The error message telling the user that the name is required is squished on the side of the screen. See attached screen shot.

Comment 1 Heiko W. Rupp 2008-06-11 07:42:39 UTC
Actually the "name" field should be read-only at that point, as it was already set before.

Comment 2 Heiko W. Rupp 2008-06-11 07:58:50 UTC
Issue is most likely provoked by 3 columns having :

.general-props-cell {
   width: 50%;


But even when this is fixed, an error message of "For property "j_id32:name", a value is required" is not acceptable.

Comment 3 Joseph Marques 2008-07-02 10:47:41 UTC
low-hanging fruit, should take me < 30 mins to fix, so setting for 1.1

Comment 4 Joseph Marques 2008-08-11 19:06:15 UTC
rev1219 - instead of using field level validation, let the backing UIBean handle the validation by injecting global-level errors into the faces context; 
update the GroupDefinitionManager to perform all non-null and max-length validating rules for new and edited group definitions, throwing exceptions to the UI layer as appropriate; 
update the facelets template for group definitions (/rhq/definition/layout/main.xhtml) to display these global errors on all pages that extend it; 

Comment 5 Jeff Weiss 2008-08-20 19:59:50 UTC
rev1250, error message is now displayed correctly.

Comment 6 Red Hat Bugzilla 2009-11-10 21:08:45 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-411
Imported an attachment (id=368824)
This bug is duplicated by RHQ-801



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