Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1318762 - strip leading or trailing whitespaces on ip and user when adding a provider
strip leading or trailing whitespaces on ip and user when adding a provider
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.5.0
All All
medium Severity medium
: GA
: 5.6.0
Assigned To: Aparna Karve
Matouš Mojžíš
: ZStream
Depends On:
Blocks: 1332297
  Show dependency treegraph
 
Reported: 2016-03-17 13:58 EDT by Josh Carter
Modified: 2016-07-26 09:49 EDT (History)
11 users (show)

See Also:
Fixed In Version: 5.6.0.8
Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms, user interface allowed a blank space to be accepted when adding a provider in the IP, FQDN, USER dialogs. This fix updates the detect-spaces directive which has resolved the issue.
Story Points: ---
Clone Of:
: 1332297 (view as bug list)
Environment:
Last Closed: 2016-06-29 11:43:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Josh Carter 2016-03-17 13:58:26 EDT
Description of problem:

UI allows a space to be accepted when adding a provider in the IP,FQDN,USER dialogs. 

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 5 CFME Bot 2016-05-18 15:36:09 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/e7f71cea2b2821fb2c4917bb3a0e7fc3595fedee

commit e7f71cea2b2821fb2c4917bb3a0e7fc3595fedee
Author:     Aparna Karve <akarve@redhat.com>
AuthorDate: Mon May 2 13:35:40 2016 -0700
Commit:     Aparna Karve <akarve@redhat.com>
CommitDate: Wed May 18 06:43:17 2016 -0700

    Add a spec for detect-spaces directive
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1318762

 spec/javascripts/directives/detect_spaces_spec.js | 32 +++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 spec/javascripts/directives/detect_spaces_spec.js
Comment 6 Matouš Mojžíš 2016-05-26 14:02:55 EDT
Verified in 5.6.0.8.
When I write a space, then it tells me, that Spaces are prohibited.

But I think, that some providers may let creating their root users with spaces?
Comment 8 errata-xmlrpc 2016-06-29 11:43:28 EDT
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://access.redhat.com/errata/RHBA-2016:1348

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