Hide Forgot
Description of problem: The OrganizationalEntity table has two cols. First being the DTYPE and the second the ID. DTYPE in jbpm5 may contain the 'User' and 'Group' strings to identify the type. DTYPE in jbpm6 on the other hand contains 'GroupImpl' and 'UserImpl' strings. I'm not sure at this point weather there are other organizational entities stored in the table but if they are they will be probably affected too. This discrepancy leads to records not being found and then there's another attempt made to store a record with a ID which is already present (e.g. AbstractUserGroupCallbackDecorator.addUserFromCallbackOperation(String))
made UserImpl and GroupImpl backward compatible so now the discriminator values are same as in v5. master: https://github.com/droolsjbpm/jbpm/commit/fe15e0e3d2987f6fcaa76fe5939110501cbd64e4 6.0.x https://github.com/droolsjbpm/jbpm/commit/bb6416db387c7b017e5b7e7a5b174c31510495b2
Verified on ER4.