Bug 1184250 - CloudForms Appliance Configuration UI Only allows 31 characters for SMTP server name
Summary: CloudForms Appliance Configuration UI Only allows 31 characters for SMTP serv...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.4.0
Assignee: Dávid Halász
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks: 1184967
TreeView+ depends on / blocked
 
Reported: 2015-01-20 20:47 UTC by david.costakos
Modified: 2015-06-16 12:48 UTC (History)
11 users (show)

Fixed In Version: 5.4.0.0.11
Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms Management Engine, the SMTP Server Hostname configuration input text box was limited to a maximum of 31 characters. As a result of this, the administrator was not able to configure a SMTP server with a Hostname longer then 31 characters. This bug was fixed by increasing the maximum field size limit of the SMTP Server Hostname configuration input text box of 255 characters. The administrator is now able to configure a Hostname larger then 31 characters.
Clone Of:
: 1184967 (view as bug list)
Environment:
Last Closed: 2015-06-16 12:48:01 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description david.costakos 2015-01-20 20:47:30 UTC
Description of problem:
The UI in Configure->Configuration allows users to enter a SMTP server hostname of only 31 characters or less.  Customer has a 32-characters SMTP hostname of 'hwd1-smtp-01.prd.rmsonecloud.net'

Version-Release number of selected component (if applicable):
Latest appliance

How reproducible:
always


Steps to Reproduce:
1. Got to Configure->Configuration
2. Enter a >31 character hostname in SMTP server field
3. appliance only allows for 31 characters

Actual results:
We fail to configure SMTP server except by IP

Expected results:
Configure a RFC-compliant hostname for SMTP

Additional info:

Comment 4 Dávid Halász 2015-01-27 10:20:07 UTC
https://github.com/ManageIQ/manageiq/pull/1479

Comment 5 CFME Bot 2015-01-27 14:35:59 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/a9f2475c8e2250c8cbd7bfaed46a2a3cb1440550

commit a9f2475c8e2250c8cbd7bfaed46a2a3cb1440550
Author:     Dávid Halász <dhalasz>
AuthorDate: Tue Jan 27 11:13:36 2015 +0100
Commit:     Dávid Halász <dhalasz>
CommitDate: Tue Jan 27 11:19:29 2015 +0100

    Fixed maximum length for the SMTP host name to the RFC specified 255
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1184250

 vmdb/app/views/ops/_settings_server_tab.html.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 Nandini Chandra 2015-02-18 05:28:31 UTC
Verified in master.20150203125233_597806a

Comment 8 Shveta 2015-03-13 17:51:31 UTC
Fixed .
Verified in  	5.4.0.0.11.20150309201930_8b6a235

Comment 10 errata-xmlrpc 2015-06-16 12:48:01 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.

https://rhn.redhat.com/errata/RHBA-2015-1100.html


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