Bug 1035835 - Process diagram not shown or shown incorrect one for not deployed processes
Summary: Process diagram not shown or shown incorrect one for not deployed processes
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
unspecified
Target Milestone: ER6
: 6.0.0
Assignee: Maciej Swiderski
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-28 15:21 UTC by Maciej Swiderski
Modified: 2014-08-06 20:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:08:50 UTC
Type: Bug


Attachments (Terms of Use)

Description Maciej Swiderski 2013-11-28 15:21:28 UTC
Description of problem:
In case for completed processes that are still in data base but the deployment unit has been removed from the runtime environment when trying to access process model from process instance details panel following can happen:
- wrong process will be shown (most likely the last one that was available)
- nothing will happen as there is NPE in the code not handled properly

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


How reproducible:


Steps to Reproduce:
1. deploy process into business central
2. execute process instance till it end
3. undeploy deployment unit with that process
4. go to complete processes for that process
5. try to open process model

Actual results:
depending if any other process model was already opened:
1 if it was same process will be shown
2 if not nothing will happen after clicking on process model button

Expected results:
user should be informed that process does not exists and thus cannot be shown


Additional info:

Comment 2 Maciej Swiderski 2013-11-28 15:35:18 UTC
fixed on master to display meaningful information about the reason and possible cause

awaiting acks

jbpm
master:
https://github.com/droolsjbpm/jbpm-console-ng/commit/6924105f9ce6eebea7116a0b18f996318310e0ae

Comment 3 Maciej Swiderski 2013-11-29 11:33:26 UTC
backported to 6.0.x

jbpm
6.0.x:
https://github.com/droolsjbpm/jbpm-console-ng/commit/a44772ad64e279d39ebd3b1de1c7e7678488499e

Comment 4 Marek Baluch 2013-12-21 08:27:55 UTC
Verified on ER6.


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