Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1198640 - [WebUI] spaces not allowed in resource agent options fields
[WebUI] spaces not allowed in resource agent options fields
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs (Show other bugs)
7.1
Unspecified Unspecified
high Severity unspecified
: rc
: ---
Assigned To: Ondrej Mular
cluster-qe@redhat.com
:
Depends On: 1189857
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-04 10:02 EST by Patrik Hagara
Modified: 2015-11-19 04:36 EST (History)
4 users (show)

See Also:
Fixed In Version: pcs-0.9.143-9.el7
Doc Type: Bug Fix
Doc Text:
Cause: User tries to type character space in a resource's attribute value in Optional Arguments form in web UI. Consequence: It was impossible to type character space in form. Fix: Remove restriction of typing spaces into forma and work with values of attributes properly. Result: In web UI, user can add optional arguments with spaces.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-19 04:36:02 EST
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 RHSA-2015:2290 normal SHIPPED_LIVE Moderate: pcs security, bug fix, and enhancement update 2015-11-19 04:43:53 EST

  None (edit)
Description Patrik Hagara 2015-03-04 10:02:51 EST
Description of problem:
Unable to enter string containing spaces into resource agent optional arguments fields. Tested with Apache RA and 'options' field (extra CLI options to pass to httpd).

Version-Release number of selected component (if applicable):
pcs-0.9.137-13.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. open pcs web ui with running cluster, go to resources tab
2. click add, select 'ocf:heartbeat:apache' resource
3. try to set 'options' in 'optional arguments' section to eg. '-D name -d /server_root'

Actual results:
Unable to input space character into any RA optional argument field, even when it should be possible/allowed (like extra apache CLI options).

Expected results:
Be able to enter strings containing spaces into applicable fields.

Additional info:
none
Comment 4 Tomas Jelinek 2015-08-10 09:19:52 EDT
Fixed in a complex rewrite of the resources page in the web UI, patches in bz1189857


Before Fix:
[root@rh71-node1 ~]# rpm -q pcs
pcs-0.9.142-2.el7.x86_64
It is not possible to type a space character in a resource's attribute value in Optional Arguments form.



After Fix:
[root@rh71-node1:~]# rpm -q pcs
pcs-0.9.143-1.el7.x86_64
It is possible to type a space character in a resource's attribute value in Optional Arguments form. The value is displayed correctly in the web UI after the form is submitted.
Comment 8 Tomas Jelinek 2015-09-16 09:35:57 EDT
After Fix:
[root@rh71-node1:~]# rpm -q pcs
pcs-0.9.143-9.el7.x86_64

It is possible to enter a space character into an attribute value input in the "Add resource" dialog. The attribute value of the created resource is correct - the same as entered.
Comment 12 errata-xmlrpc 2015-11-19 04:36:02 EST
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/RHSA-2015-2290.html

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