Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1048917

Summary: Properties of some form fields are missing input fields when locale switched
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Form ModelerAssignee: Neus Miras <nmirasch>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: pzapataf, rrajasek, rzhang, sgutierr
Target Milestone: CR1   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:08:03 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:
Attachments:
Description Flags
Fields missing in properties panel
none
Fields missing in properties panel
none
English - OK, all fields present none

Description Jan Hrcek 2014-01-06 13:21:35 UTC
Created attachment 846080 [details]
Fields missing in properties panel

Description of problem:
When you edit properties of some form fields and you switch the language of business central to something else then english, the field properties panel is missing input fields for some property values.

Version-Release number of selected component (if applicable):
BPMS 6.0.0 ER7 deployed on EAP 6.1.1

How reproducible:
Always

Steps to Reproduce:
1. Login to business central and switch to some other language using URL query parameter (In my case I tried query param locale=es_ES and then also locale=de_DE: The resulting URL would be http://localhost:8080/business-central/org.kie.workbench.KIEWebapp/KIEWebapp.html?locale=es_ES )

2. Navigate to project authoring and open some form (in my case I opened demo > jbpm-playground > HR > hiring-taskform)

3. Open field properties of some field (click on the field and click on mini "pencil" icon)

Actual results:
The input fileds are missing for some properties in different locales - it is impossible to enter values for those properties.

Expected results:
All input fields should be present consistently across all supported locales.

Additional info:
Attached screenshot with input fileds missing for field properties in German (locale de_DE) and spanish (locale es_ES)

Comment 1 Jan Hrcek 2014-01-06 13:22:00 UTC
Created attachment 846081 [details]
Fields missing in properties panel

Comment 2 Jan Hrcek 2014-01-06 13:22:31 UTC
Created attachment 846082 [details]
English - OK, all fields present

Comment 3 Pedro Zapata 2014-01-08 14:22:21 UTC
This looks like a i18n issue, may be missing resources or translations.

Comment 4 Pedro Zapata 2014-01-08 20:03:42 UTC
*** Bug 1050026 has been marked as a duplicate of this bug. ***

Comment 5 Neus Miras 2014-01-09 22:57:48 UTC
The problem was how to compare the current locale with the different available platform languages


Commits:

Master
https://github.com/droolsjbpm/jbpm-form-modeler/commit/d6edf20c6042d2ca7dc987062f26aa722ea17bf6

Comment 7 Jan Hrcek 2014-01-22 06:25:28 UTC
Ok, verified with BPMS 6.0.0 CR1