Bug 1080329 - Process changes are not reflected after redeploying unit with same GAV and process version
Summary: Process changes are not reflected after redeploying unit with same GAV and pr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER1
: 6.0.2
Assignee: Maciej Swiderski
QA Contact: Pavel Kralik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-25 07:49 UTC by Anton Giertli
Modified: 2018-12-05 17:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Process changes were not being reflected when a project was re-deployed with the same GAV (Group, Artifact and Version) and the same BPMN version. The only known workaround was to change any of the GAV for that project. This issue has now been fixed by ensuring that on undeploy of runtime manager the releaseId of the project was removed from the local KIE repo. The repo used to keep a local cache of deployed artifacts and this was causing the older version of the project to be used on runtime.
Clone Of:
Environment:
Last Closed: 2014-08-06 19:50:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
maven project with bpmn2 process (6.67 KB, application/zip)
2014-03-25 07:49 UTC, Anton Giertli
no flags Details

Description Anton Giertli 2014-03-25 07:49:18 UTC
Created attachment 878323 [details]
maven project with bpmn2 process

Description of problem:

Description exactly as provided by the customer:

"I have only one version of deployment unit (I am not changing maven version).
Though I am modifying the process, I am not changing the process version.
Once process modified, I am doing a maven build (Same GAV).
Now I am undeploying existing unit. Deploy again (Same GAV).
In this case my changes are not reflected. Is this expected behavior?"

I have verified it locally, and could reproduce the same behavior

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

How reproducible:

always

Steps to Reproduce:
1. Create maven project, with bpmn process definition
2. Deploy it
3. Start the process - check the output
4. Undeploy current unit
5. Change process definition
6. build the maven project - do not change GAV of the maven project, do not change bpmn process version
7. Deploy this maven project again
8. start the process - changes you have made are not reflected.



Actual results:

Process changes are not being reflected when maven project is re-deployed with the same GAV and same bpmn version

Expected results:

Process change are reflected when maven project is re-deployed with the same GAV and same bpmn version

Additional info:
--attached project can be used for testing--
<agiertli> salaboy, okay, I have tested it at my end and I can confirm the behavior, do you have any suggestions ?
<salaboy> agiertli: the bug is a well known bug that we plan to fix at some point
<salaboy> agiertli: the work around is to change the GAV of the maven artefact.. 
<salaboy> agiertli: you can create a new bugzilla explaining the specific problem that you are having with this customer

Comment 2 Maciej Swiderski 2014-03-25 15:22:36 UTC
fixed by ensuring that on undeploy of runtime manager the releaseId will be removed from kie repo which keeps a local cache od deployed artifacts.

jbpm
master:
https://github.com/droolsjbpm/jbpm/commit/fabd5e762cb1ae450da444d7fbbf71b8d86f634f

6.0.x:
https://github.com/droolsjbpm/jbpm/commit/4a0bd04fa0e5cec558bfb0cc2edcafad76c092da

Comment 3 Pavel Kralik 2014-05-15 15:35:35 UTC
Verified eap.6.1.1/bpms-6.0.2.ER2


Note You need to log in before you can comment on or make changes to this bug.