Bug 1331452

Summary: Deleted process is still being referenced by the business-central
Product: [Retired] JBoss BPMS Platform 6 Reporter: Anton Giertli <agiertli>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:05:35 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:

Description Anton Giertli 2016-04-28 14:37:15 UTC
Description of problem:
business-central is trying to re-open a process which was already deleted.

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

How reproducible:

always
Steps to Reproduce:

 - Create a process in business-central and open it. Make sure that after refresh, when you click on Authoring->Project Authoring this will be the process that will be opened in the Web Designer by default
 - shutdown the bpm, and delete this process from the git repository, push the changes back
 - start the BPM, open Authoring - > Project Authoring. 
 - At this point, business-central still tries to open this process, and following exception can be observed in the logs:
http://pastebin.com/hcK5BSus

There is no error message displayed via UI, which makes it a bit confusing. It is only displayed in the logs.

Actual results:
business-central is trying to open a process which was already deleted

Expected results:
business-central is not trying to open a process which was already deleted

Additional info:
the reference to the deleted process is stored in the system.git repository under <user>-uf-user branch.

When Web Designer tries to open the process, the window simply stay blanks. WHen the same issue is reproducer with the DRL, it atleast displays this message:
"No such file. Please check the file exists at the version selected."

I am sure we can improve the Web Designer response to this situation.