Bug 1200758

Summary: Impossible to save process with 'end event' with Data Input configured
Product: [Retired] JBoss BPMS Platform 6 Reporter: Anton Giertli <agiertli>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Sona Mala <smala>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.3CC: alazarot, kverlaen, mbaluch, rrajasek, tsurdilo
Target Milestone: CR1   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:02:57 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:

Description Anton Giertli 2015-03-11 10:58:04 UTC
Description of problem:
If you model a process with error end event / errorRef / data input / data input assignment and then SAVE the process then these changes are NOT commited to the git repository - upon reloading the web designer, the changes are simply not there.

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

bpms 6.0.x
How reproducible:
always 

Steps to Reproduce:
1. Create dummy process definition - i.e. START->END. Save this process and clone the git repository at this moment

Now, as described by customer follow these steps:

1.) Open a process, 
2.) Add an error end event 
3.) Set a value into error ref property  
3.) Add a data input of type String to the error end event
4.) Assign a fix value ("equal to") to data input yo have added in step 3.)
5.) Klick the "Save" icon
6.) You will get an error message: User ... has change teh workflow .... Options: Force Save or Reload.
7.) Klick "Force Save"
8.)  jbpm designer will askyou for a check in comment, type it in
9.) You get a message "Successfully saved"

Now go the the clone repository and call "git pull". The output:
$ git pull
Already up-to-date.



Actual results:
The process which includes configured error end event is impossible to save! No commits are added to the git repository.

Expected results:
The process which includes configured error end event should be saved and successfully committed in the git repository. (if the above process definition contains some error which prevents the successful commit than this error *has to* to be reported in the Problem section)

Additional info:

Comment 2 Anton Giertli 2015-03-11 11:06:26 UTC
It seems that the behavior is the same for any End Event which has some Data Input configured (tested with NONE and SIGNAL end events)

Comment 6 Sona Mala 2015-03-31 14:44:38 UTC
This issue was verified on 6.1.0 CR1.

The process which contains an assignment in an end element is saved and the commit is present in the git repository.