Bug 691505
| Summary: | Very long Dynagroup names cause stack trace - field should be limited to 100 chars | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Corey Welton <cwelton> |
| Component: | Core UI | Assignee: | Mike Thompson <mithomps> |
| Status: | CLOSED DUPLICATE | QA Contact: | Mike Foley <mfoley> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0.0.B02 | CC: | hrupp, ian.springer, mithomps |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-27 15:25:21 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 691508, 735475 | ||
Actually the same thing goes for Description field. I'll include that here rather than writing up a new bug for that field. I could not reproduce. I checked both the Dynagroup name and description fields with 200 character strings and then again with 50 character strings (for positive and negative test cases). This is a dup of https://bugzilla.redhat.com/show_bug.cgi?id=734231, which was fixed a while back. *** This bug has been marked as a duplicate of bug 734231 *** |
Description of problem: The apparent maxlength of dynagroup names is 100 characters. A user is able to enter more than this in the field, however, and a stacktrace results. User should be given a hard maximum of 100 in the field. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Nav to dynagroup page; create a new dynagroup or edit an existing one. 2. In the name field, enter > 100 characters. 3. Stack trace; view Message center error. Actual results: java.lang.RuntimeException:org.rhq.enterprise.server.resource.group.definition.exception.GroupDefinitionUpdateException:Name is limited to 100 characters --- STACK TRACE FOLLOWS --- org.rhq.enterprise.server.resource.group.definition.exception.GroupDefinitionUpdateException:Name is limited to 100 characters at Unknown.java_lang_RuntimeException_$RuntimeException__Ljava_lang_RuntimeException_2Ljava_lang_RuntimeException_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_core_java_lang_RuntimeException_1FieldSerializer_instantiate__Lcom_google_gwt_user_client_rpc_SerializationStreamReader_2Ljava_lang_RuntimeException_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_impl_SerializerBase$MethodMap_$instantiate__Lcom_google_gwt_user_client_rpc_impl_SerializerBase$MethodMap_2Lcom_google_gwt_user_client_rpc_SerializationStreamReader_2Ljava_lang_String_2Ljava_lang_Object_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_impl_SerializerBase_$instantiate__Lcom_google_gwt_user_client_rpc_impl_SerializerBase_2Lcom_google_gwt_user_client_rpc_SerializationStreamReader_2Ljava_lang_String_2Ljava_lang_Object_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_impl_AbstractSerializationStreamReader_$readObject__Lcom_google_gwt_user_client_rpc_impl_AbstractSerializationStreamReader_2Ljava_lang_Object_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_$onResponseReceived__Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_2Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown source:0) at Unknown.org_rhq_enterprise_gui_coregui_client_util_rpc_TrackingRequestCallback_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown source:0) Expected results: Since the field is apparently limited to 100 chars, we should probably limit how much users can actually enter into this box. Additional info: