Bug 1008620 - Human Task Form Processing does not work with special chars
Summary: Human Task Form Processing does not work with special chars
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-16 17:24 UTC by Amana
Modified: 2025-02-10 03:28 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:28:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
repository_export.zip (22.31 KB, application/zip)
2013-09-16 17:24 UTC, Amana
no flags Details

Description Amana 2013-09-16 17:24:22 UTC
Created attachment 798364 [details]
repository_export.zip

Description of problem:

There is an encoding issue with german special characters like 'ä' when using task form. Performing some tests using task form and business-central, I realized that it stores an invalid character (i.e. ��) in database and Instance Data (business-central).

select * from variableinstancelog;
  id  |        log_date         |          processid          | processinstanceid | value  |     variableid      | variableinstanceid  
------+-------------------------+-----------------------------+-------------------+--------+---------------------+---------------------
 4887 | 2013-09-06 16:18:28.772 | defaultPackage.EncodingTest |              4886 | ��     | testProcessVariable | testProcessVariable
 4888 | 2013-09-06 16:18:28.773 | defaultPackage.EncodingTest |              4886 | Submit | Submit              | Submit


It seems that there is something broken in the BRMS platform when doing human task form processing regarding the right encoding/decoding. Also, this is not a database issue since it stores the right character when adding it directly in the table. Other point, it is not being experienced when using "Script Task", only by using task form.


Steps to Reproduce:
1.) import the repository_export attached to guvnor
2.) Start the process with the business-central
3.) A form with one textinputfield should appear
4.) Enter something like 'äää' and submit
5.) Have a look in the business-central -> Processoverview -> EncodingTest -> instance -> instanceData
6.) Output will show broken char in variable 'testProcessVariable'
7.) Check value stored in database (table: variableinstancelog)

Actual results:
Broken char in variable and database.


Expected results:
Right char.

Comment 3 Red Hat Bugzilla 2025-02-10 03:28:32 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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