Bug 1331545

Summary: JBDS 8.1 is not showing the custom task under diagram pallete for maven projects
Product: [Retired] JBoss BPMS Platform 6 Reporter: Amana <ajuricic>
Component: Eclipse ToolingAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED EOL QA Contact: Jozef Marko <jomarko>
Severity: high 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:
: 1331546 (view as bug list) Environment:
Last Closed: 2020-03-27 19:44:24 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:
Bug Depends On:    
Bug Blocks: 1331546    
Attachments:
Description Flags
GoogleCalendar.wid (sample) none

Description Amana 2016-04-28 18:42:07 UTC
Created attachment 1152037 [details]
GoogleCalendar.wid (sample)

Description of problem:
After creating a custom task it is not showed in the pallete for Diagram Editor in JBDS 8.1. if the project is mavenized.

It works well for common jBPM Project, but not for jBPM Project (Maven).

Version-Release number of selected component (if applicable):
JBDS 8.1 - BPM Suite 6.2


How reproducible:
Always

Steps to Reproduce:
## jBPM Project (Maven)
1. Create a new jBPM Project (Maven) in JBDS 8.1;
2. Copy the attached GoogleCalendar.wid to the src/main/resources/META-INF under your project;
3. Close and open the sample.bpmn process. A new category displaying "Google" custom task is NOT displayed under pallete.

## jBPM Project (NOT a MAVEN project)
1. Create a new jBPM Project in JBDS 8.1;
2. Copy the attached GoogleCalendar.wid to the src/main/resources/META-INF under your project;
3. Close and open the sample.bpmn process. A new category displaying "Google" custom task IS displayed under pallete.

Actual results:
1. For maven projects it does not work.


Expected results:
It should work anyway.


Additional info:
There is not workaround.

Comment 3 Jozef Marko 2016-05-02 07:26:07 UTC
Hello Amana,
This bug was already fixed in:
jbds-9.1.0.CR1_jbdsis-9.0.0.CR1
jbtis-4.3.0.CR1
BPMN2 Modeler - 1.2.4.Final-v20160330-1625-B110

Bob, can you say if this will be fixed also in jbds-8.x or if some workaround exists?

Comment 5 Robert (Bob) Brodt 2016-05-19 12:54:18 UTC
The small red rectangle is the "universal icon" (in eclipse) for a missing icon - this is working as expected.

Comment 6 Amana 2016-05-19 13:02:43 UTC
Hi Robert,

Thanks for your answer. Yes, in fact it is working. What I meant is that even if I have a custom icon set, I still see the red icon. Is it another bug?

Thanks!

Comment 7 Robert (Bob) Brodt 2016-05-19 13:22:43 UTC
Hmm, that shouldn't be happening. Have you made sure the icon file is in the same folder as the wid?

Comment 8 Amana 2016-05-19 13:35:00 UTC
Hi Robert,

In fact I was placing the icon file under /resources folder and the wid under /resources/META-INF as stated in the doc [1]. It worked in a non-mavenized project in JBDS 8.

It worked now in JBDS 9 after changing the icon image under the same folder.

[1] https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.2/html/User_Guide/sect-Domain-specific_Tasks.html

Thanks!