Bug 998860

Summary: session-migration: Task tables are not compatible.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: jBPM CoreAssignee: Mauricio Salatino <msalatin>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0Keywords: TestBlocker
Target Milestone: ER4   
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:10:29 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
stack-trace none

Description Marek Baluch 2013-08-20 09:02:35 UTC
Created attachment 788387 [details]
stack-trace

Description of problem:

The new TaskImpl class uses the 'taskId' attribute as id. The old one used just 'id'. This prevents the creation of e.g. LocalTaskService which fails with error 'ERROR: column taskimpl0_.taskid does not exist'.

See attached log for full stack-trace.

Comment 1 Mauricio Salatino 2013-09-05 15:35:53 UTC
Ok this is related with this fix: https://github.com/droolsjbpm/jbpm/commit/9b274ffa840ad0e56fb552b1f6384a9f9627e260

I can try reverting the Column names to see if that fixes the problem and a migration script can be avoided.

Comment 2 Mauricio Salatino 2013-09-05 15:56:09 UTC
Fixed in master: https://github.com/droolsjbpm/jbpm/commit/d2a5d57e45146386409901d434ed5583981e8f9f

It will be backported to 6.0.x

Comment 6 Marek Baluch 2013-10-18 10:17:30 UTC
Verified on ER4.