Bug 983509 - WorkDefinitions.wid file generated for a newly created process not visible right away.
Summary: WorkDefinitions.wid file generated for a newly created process not visible ri...
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: ER4
: 6.0.0
Assignee: Tihomir Surdilovic
QA Contact: Tomas Livora
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-11 10:54 UTC by Marek Baluch
Modified: 2014-08-06 20:13 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:13:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marek Baluch 2013-07-11 10:54:52 UTC
Description of problem:
When a new BPMN 2 process is created in a new project then a WorkDefinition.wid file is generated. This file contains the Email and Log work item definitions. The process will be visible in the directory in Guvnor right away but the WorkDefinitions.wid file will not. A refresh is required.


How to reproduce:
1) create a new project
2) create a new package in the src/resources directory
3) create a new BPMN2 process.


Expected result:
Both process file and wid file visible.

Actual result:
Only process file is visible.

Affected version:
DR6

Comment 2 Mauricio Salatino 2013-07-11 22:18:03 UTC
I'm assigning this issue to Michael Anstis, because this is about building the kjar which is out side of the BPM side. I know that the WorkDefinitions.wid file is related with the processes, but the policies to include or exclude files are in a core module.

Comment 3 manstis 2013-09-06 15:13:44 UTC
There is a very similar (if not identical) BZ to this already that was assigned to tsurdilo (WIDs created along with a process are not in the KJAR). I have verified creating a new WID directly (i.e. New->Work Item Definition) works OK. The same root cause is at play - probably a NewResourceEvent is not being raised for the WID.

Comment 4 Kris Verlaenen 2013-09-16 13:57:21 UTC
This also seems to be causing another side effect: when opening designer for the first time, since the generated .wid is not immediately picked up, the service tasks category remains empty (no way to add one of the custom service tasks).  Reopening designer a second time makes the category show up correctly.

Comment 5 Tihomir Surdilovic 2013-09-18 12:51:12 UTC
Fixed in master and 6.0.x branches of designer. Designer is now able to find the installed workitem definitions config in a new repo+project right away and re-open is no longer necessary.

Comment 7 Tomas Livora 2013-10-16 08:33:25 UTC
Verified on BPMS 6.0.0.ER4


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