Bug 853965 - Guvnor: Unable to write variable name with Japanese characters in GuidedEditor for Business Rule
Guvnor: Unable to write variable name with Japanese characters in GuidedEdito...
Status: NEW
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor) (Show other bugs)
BRMS 5.3.0.GA
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: manstis
Sona Mala
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-03 08:40 EDT by Sona Mala
Modified: 2012-09-11 09:45 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
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)

  None (edit)
Description Sona Mala 2012-09-03 08:40:07 EDT
Description of problem:
If I want to bind fact to variable in Business rule (GuidedEditor) then is unable to write variable name which contains Japanese characters directly via keyboard. If I copy desired string and paste it into input box then is possible use special unicode characters. If I want to insert same characters via keyboard (character by character) then this character is not insert.

Version-Release number of selected component (if applicable):
BRMS standalone 5.3.0 GA

How reproducible:
Always

Steps to Reproduce:
1. Start server
2. Open Guvnor
3. Create simply Declarative Model (Fact: String field)
4. Create new Business Rule (use Guided Editor)
5. Insert Fact
6. Bind Fact to variable (for exaple, variable name is トシハスイ)
  For insert of the variable name use these instructions:
  a) Copy variable name and paste it into input box
  b) Set Japanese keyboard (I use Japanese (Macintosh) in Fedora) and insert variable name (character by character).
  c) Use CTRL+ALT+SHIFT+u <unicode code> to insert character.
7. Save
8. Validate rule
9. Build package
  
Actual results:
For step 6. a):
  - in the input box is desired variable name. 
  - There is impossible write any another character via keyboard.

For step 6. b):
  - the input box is still empty. 
  - There is posible insert only characters of the english alphabet.

For step 6. c):
  - in the input box is desired variable name.
  - There is impossible write any another character via keyboard.

For step 8.:
  - Validation is succesfull, using variable name in unicode
For step 9.:
  - Building of package is succesfull, using variable name in unicode

Expected results:
WHEN ENGINE SUPPORTS VARIABLE NAME IN UNICODE, GUVNOR SHOULD SUPPORT DIRACTLY INSERT UNICODE CHARACTERS VIA KEYBOARD! (describes in step 6.b)

For step 6. a):
  - in the input box is desired variable name. 
  - There is possible write any another character via keyboard.

For step 6. b):
  - in the input box is desired variable name. 

For step 6. c):
  - in the input box is desired variable name.
  - There is possible write any another character via keyboard.

For step 8.:
  - Validation is succesfull, using variable name in unicode
For step 9.:
  - Building of package is succesfull, using variable name in unicode


WHEN ENGINE DOES NOT SUPPORTS VARIABLE NAME IN UNICODE, THEN GUVNOR SHOULD NOT ALLOW INSERT ANY NON-ENGLISH ALPHABET CHARACTER! (describes in step 6. a,c)

For step 6. a):
For step 6. b):
For step 6. c):
  - in the input box is empty or alert occurs.

For step 8.:
  - Validation is not succesfull. Errors occurs.
For step 9.:
  - Building of package is not succesfull. Errors occurs.


Additional info:

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