Bug 1261052

Summary: Console: various localized perspective listings does not work
Product: [Retired] JBoss BPMS Platform 6 Reporter: Pavel Kralik <pkralik>
Component: Business CentralAssignee: Neus Miras <nmirasch>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: high Docs Contact:
Priority: medium    
Version: 6.2.0CC: kverlaen, rrajasek
Target Milestone: CR1Keywords: i18n
Target Release: 6.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1261962 (view as bug list) Environment:
Last Closed: 2020-03-27 19:40:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1261962    
Attachments:
Description Flags
Broken listing in Process Definition perspective zh_CN
none
Broken listing in Process Definition perspective ja_JP
none
Broken listing in Process Definition perspective fr_FR
none
Working listing in Process Definition perspective en_US none

Description Pavel Kralik 2015-09-08 13:42:56 UTC
Created attachment 1071364 [details]
Broken listing in Process Definition perspective zh_CN

Description of problem:
When BC is localized various perspectives listings does not work properly. 

en_US columns displayed:
Jobs: Id, Type, Actions
Process Definitions: Name, Version, Project, Actions
Process Instances: Select, Id, Name, Description, Version, Actions
Tasks: Task, Description, Actions

fr_FR:
Process Definitions: Version, Actions
Tasks: Description, Actions

ja_JP:
Jobs: no listing
Process Definition: no listing
Tasks: no listing

zh_CN:
Jobs: Id
Process Definitons: no listing
Process Instances: no listing
Tasks: no listing

Version-Release number of selected component (if applicable):
BPMS 6.2.0.ER1

How reproducible:
Always

Steps to Reproduce:
1. Switch BC to zh_CN, fr_FR and ja_JP locales 
2. Build and deploy project, start tasks, process definitions and jobs.
3. Go to Jobs/Process Definitions and Instances/Tasks and compare to default en_US locale. 

Actual results:
Broken localized perspective listings.

Expected results:
Perspectives works similar to en_US locales.

Additional info:
See screenshots.

Comment 1 Pavel Kralik 2015-09-08 13:43:57 UTC
Created attachment 1071366 [details]
Broken listing in Process Definition perspective ja_JP

Comment 2 Pavel Kralik 2015-09-08 13:44:27 UTC
Created attachment 1071368 [details]
Broken listing in Process Definition perspective fr_FR

Comment 3 Pavel Kralik 2015-09-08 13:45:07 UTC
Created attachment 1071369 [details]
Working listing in Process Definition perspective en_US

Comment 5 Neus Miras 2015-11-13 09:55:10 UTC
The problem was related with the id used to identify the displayed or hidden columns. It used an id a value depending on the language displayed. When the user would change the lang, the app didn't recognize the displayed columns and the behavior wasn't as expected.
This has been fixed in the following commits:
 
Console
6.3.x
https://github.com/droolsjbpm/jbpm-console-ng/commit/bbecb7c760c500a0ecace4916a82ee50621abedd

uf-ext
0.7.x
https://github.com/uberfire/uberfire-extensions/commit/acfd90743df5ce49b1e2c6105f72fe85a64d34aa

Comment 6 Pavel Kralik 2015-11-19 15:51:08 UTC
BPMS 6.2.0.CR1