Bug 1026838

Summary: I18NTextImpl doesn't update shortText when text is updated
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Alessandro Lazarotti <alazarot>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: VERIFIED --- QA Contact: Radovan Synek <rsynek>
Severity: medium Docs Contact:
Priority: medium    
Version: BRMS 5.3.1CC: mbaluch, nwallace, tkobayas
Target Milestone: GA   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1018173 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1018173    
Bug Blocks: 1008824, 1022758    

Description Alessandro Lazarotti 2013-11-05 14:07:21 UTC
+++ This bug was initially created as a clone of Bug #1018173 +++

Description of problem:

Platform BZ for https://issues.jboss.org/browse/JBPM-4148

Steps to Reproduce:
1. Get a Task with taskService.getTaskById()
2. Modify task name of the Task with InternalI18NText.setText()
3. Get a TaskSummary with taskService.getTasksAssignedAsPotentialOwner()

Test case in https://github.com/droolsjbpm/jbpm/pull/181 would explain well.

Actual results:

TaskSummary.getName() returns old task name.

Expected results:

TaskSummary.getName() returns updated task name.

Comment 1 JBoss JIRA Server 2013-11-18 18:58:26 UTC
Maciej Swiderski <swiderski.maciej> updated the status of jira JBPM-4148 to Resolved

Comment 2 JBoss JIRA Server 2013-11-18 18:58:26 UTC
Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-4148

pull request has been merged already in master, thanks Toshiya

Comment 3 Maciej Swiderski 2013-11-18 19:12:37 UTC
backported to 5.2.x branch:

https://github.com/droolsjbpm/jbpm/commit/3c9a0fff17e35f7d5273abf4a4c27b752b2df4c3

please note that this functionality is only available when using LocalTaskService

Comment 4 Radovan Synek 2014-02-13 17:16:24 UTC
Verified with BRMS-5.3.1-P05