Bug 858120
| Summary: | The language "en-UK" is hardcoded in HumanTask handlers | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Alessandro Lazarotti <alazarot> | |
| Component: | jBPM 5 | Assignee: | Kris Verlaenen <kverlaen> | |
| Status: | CLOSED UPSTREAM | QA Contact: | Marek Baluch <mbaluch> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | BRMS 5.3.0.GA | CC: | jcoleman, kverlaen, mbaluch, mvecera | |
| Target Milestone: | ER2 | |||
| Target Release: | BRMS 5.3.1 GA | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
User tasks were previously created with the hardcoded locale (en-UK), which prevent users from changing the locale. This issue has been resolved by ensuring the user can configure the locale. In addition to this, it is now possible to configure the business central server to a specific locale.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 863390 (view as bug list) | Environment: | ||
| Last Closed: | 2025-02-10 03:20:50 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: | 863390 | |||
|
Description
Alessandro Lazarotti
2012-09-18 02:45:15 UTC
Added support for specifying locale (language) paramter for user tasks. It is supported exactlly the same as other parameters of user task - task name, group id, comment. New parameter is Locale and if not given it defaults to en-UK. In addition to that console can be configured to use other than default (en-UK which was hard coded as well) locale by specifying it in jbpm.console.properties under jbpm.console.task.service.locale key. I would suggest to add that in the tooling especially in designer as it should be rather quick task. That would enable users to take adventage of it while modelling. Wdyt? Awesome Maciej, thanks. My initial idea was precisely that, make it available to be modelled in the process. Locale parameter has been added for user tasks in Designer (2.3.x prod branch). Users can specify this now per user task. Let me know if there is anything else. eclipse plugin has be updated as well to provide locale parameter support (5.3.x and master of droolsjbpm-tools) As far as I know, there is no updated build of the JBDS tooling. Thus, ON_QA is an invalid status. Julian? Lukas, Julian, I think that this bug can be assumed as ON_QA, because Tihomir and Maciej have fixed the described problem in the Designer and HT handler code and it should be ready to be tested in the ER2. Maciej just said that there should be a fix for the JBDS plugin too. This is true, but I would prefer to create a new Bugzilla for the JBDS plugin (by cloning this Bugzilla), because the assignee, QA engineer and the release process for JBDS plugin is/will be different. So I am changing the status of this bug back to ON_QA and I'll file a new bug for the JBDS plugin. Please approve the flags of this bug again and also please write a comment if I have missed something. Thanks, Jiri Maciej Swiderski <swiderski.maciej> updated the status of jira JBPM-3791 to Resolved Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-3791 committed to master as mentioned on BZ comments It looks like the bug is fixed but there is another problem. There exist two views which should be identical but they are not. The second one does not contain locale field. jBPM Task -> Human Task View -> Create (fixed) Drools Task -> Human Task View -> Create (not fixed - missing locale field) Could it be that some other (older installation) is still there? I think Human Task view was moved from drools into jBPM perspective. When looking at the code base (droolsjbpm-tools/5.3.x) this view is only defined in org.jbpm.eclipse.task plugin so I can't see any way to fix it in code. I just installed very new and clear JBDS 5.0.1.GA and there are still two Human Task views. I'm aware of it that the view in Drools task is some legacy stuff and I guess that it should be removed and the only one Human Task View should be in jBPM task. Am I right? yes, jBPM Human Task view is the one that should be present Users should be using the jBPM task view. The Drools task view is only there for backwards compatibility reasons, but afaik should never have been included in JBDS. We already removed it in the latest community release, we can cherry-pick that to the product branch as well if wanted. Juraj, this bug tracks the problem in the Designer and jBPM HT module. You should have assigned to yourself JBDS related bug: https://bugzilla.redhat.com/show_bug.cgi?id=863390 I am already done with the testing of this problem. As I could see the issue has been fixed in the Designer, jBPM console and HT module. Verified in BRMS 5.3.1 ER3. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |