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:
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)
Fix in master commits: https://github.com/droolsjbpm/jbpm-designer/commit/a723670d1e36b77e57d202c1ac51caa430db929f https://github.com/droolsjbpm/jbpm-designer/commit/f8de5941abeb83a49699cc8365d0ecc6161dcfdf
Fix in 6.2.x branch: https://github.com/droolsjbpm/jbpm-designer/commit/31ba2c97f979ae55d1f5065762ab84d4c98831a6 https://github.com/droolsjbpm/jbpm-designer/commit/267e1fec3995b3360a4fea898eb6f3af4b3ad569
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.