Bug 1042318

Summary: Can not create workspace page in only one language that not English
Product: [Retired] JBoss BPMS Platform 6 Reporter: Diógenes Rettori <drettori>
Component: BAMAssignee: David Gutierrez <dgutierr>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: jhrcek, pzapataf, rrajasek
Target Milestone: ER1   
Target Release: 6.0.1   
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:03:08 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:
Attachments:
Description Flags
This shows it breaking... none

Description Diógenes Rettori 2013-12-12 21:44:14 UTC
Created attachment 836042 [details]
This shows it breaking...

Description of problem:
Workspace can only be created as long as there is at least Translation for English for the Workspace name.
I set the language of my Dashbuilder to Portuguese and tried to create a new Workspace, only with the name in Portuguese, and I could not. I then went and set the name for English and Portuguese and it worked.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Open Dashbuilder
2.Set Language to Portuguese
3.Go to workspace Manager/creator (http://localhost:8080/dashbuilder/Controller?_fb=tsch&_fp=NewWorkspace&csrf=40702697)
4.Try creating workspace with a name only for portuguese.
5.There's an error "It was not possible to create the workspace.
The name of the workspace should be at least in the default language.
The title of the workspace should be at least in the default language." 

Actual results:


Expected results:
You should be able to create workspaces and other assets on any language, not ALWAYS english and something else.

Additional info:

Comment 2 Pedro Zapata 2014-01-08 14:38:17 UTC
To clarify the problem, it's simply that by convention it's always mandatory to enter a page description or title in the default installation language (English), to provide a fallback in case a given translation is not present. 

We can change this check.

Comment 3 David Gutierrez 2014-01-13 12:08:13 UTC
We have removed this restriction and now it's possible to create a new workspace, or page in any language. 

It's also worth to mention that the system will always try to display the name for the current user language but, if not found, it'll get the name defined regardless the language used.

Github commit (master): https://github.com/droolsjbpm/dashboard-builder/commit/51ab935ed97b945b4ef7b0e1f975d4611b0ab552

Comment 4 Pedro Zapata 2014-01-13 15:18:24 UTC
Please, set to modified only after cherry-pick to 6.0.X

Comment 7 David Gutierrez 2014-01-13 17:11:19 UTC
Cherry-picked from master and pushed to the 6.0.x branch.

Github commit (6.0.x): https://github.com/droolsjbpm/dashboard-builder/commit/73e634b04ad91f729f740a0160308d7d6a13acc0

Comment 8 Marek Baluch 2014-02-17 13:42:35 UTC
Verified on 6.0.1.ER1.

It's possible to create a new workspace in all default languages.

Comment 9 Jan Hrcek 2014-03-20 09:23:09 UTC
Locale-specific issues are only tested manually by QA. Adding support for testing them to our automated UI-testing frameworks would require disproportionate development effort with little to show for it.