RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 886559 - Luci does not handle UTF-8 inputs correctly
Summary: Luci does not handle UTF-8 inputs correctly
Keywords:
Status: CLOSED DUPLICATE of bug 880358
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: luci
Version: 6.4
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: rc
: ---
Assignee: Ryan McCabe
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-12 14:51 UTC by Jaroslav Kortus
Modified: 2012-12-12 14:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-12 14:53:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Kortus 2012-12-12 14:51:35 UTC
Description of problem:
Following actions do not work with UTF-8 chars:
1. Creating and editing resource name (in Resources tab). Luci confirms the action, but nothing is performed, no new resource appears or it's still the same as before the editation.

2. Creating service name (in Service Groups). This operation also reports "green bar", but no service group is created. Other operations (disable for instance) behave the same way, green bar, but no action taken.

3. Editing service with resource that has UTF characters in it's name. This fails like this: Error adding resource type "apache": 'resourcename'. I used apache resource in this case, manually entered in cluster.conf.

Although it may not seem ideal to use non-ascii characters in cluster resources or services, cluster stack supports it well and just luci is not processing it correctly.

Version-Release number of selected component (if applicable):
luci-0.26.0-31.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. create resource with UTF-8 chars (tested with apache resource named "čččč")
2. create cluster service with resource from (1)
3. create cluster service with UTF-8 chars in it's name
4. perform operations on resource (rename) and service (stop, disable, restart)
  
Actual results:
actions failing or (worse) reporting false success, while nothing is really performed on cluster (it also does not appear in UI after reloading the page)

Expected results:
it should work with UTF-8 chars the same way as with normal ascii chars.

Additional info:

Comment 1 Radek Steiger 2012-12-12 14:53:50 UTC

*** This bug has been marked as a duplicate of bug 880358 ***


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