Bug 977782
| Summary: | Incorrect error message is shown when creating a new dynaGroup definition with incorrect name | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Filip Brychta <fbrychta> |
| Component: | Core UI | Assignee: | Jirka Kremser <jkremser> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.8 | CC: | hrupp, jkremser |
| Target Milestone: | --- | ||
| Target Release: | RHQ 4.9 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-24 19:08:34 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: | |||
branch: master link: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=b6c3be047 time: 2013-07-10 16:44:00 +0200 commit: b6c3be047e66dee516acbd3c557eb2da2806aa11 author: Jirka Kremser - jkremser message: [BZ 977782] - Incorrect error message is shown when creating a new dynaGroup definition with incorrect name - added regexp validator to the coregui. this is RHQ bz => changing status to ON_QA Verified on Version: 4.9.0-SNAPSHOT Build Number: d428376 Bulk closing of RHQ 4.9 verified items |
Description of problem: I'm creating a new dynaGroup definition with name containing forbidden characters and thrown error message shows 'A group definition already exists with this name' Version-Release number of selected component (if applicable): Version: 4.8.0-SNAPSHOT Build Number: df51a76 How reproducible: Always Steps to Reproduce: 1. delete all group definitions and all groups 2. try to create a new dynagroup definition with following name: test<> and expression: test 3. click on save button Actual results: error message shows 'A group definition already exists with this name' with exception: >> exception was null << rhq server log contains correct exception: 06:17:30,901 WARN [org.rhq.enterprise.gui.coregui.server.gwt.ResourceGroupGWTServiceImpl] (http-/0.0.0.0:7080-31) Sending exception to client: [1372155450901] : org.rhq.enterprise.server.resource.group.definition.exception.GroupDefinitionCreateException: Name must not contain <,$,',[,{ characters Expected results: Correct error message