Bug 852115

Summary: Designer does not show correct icons self designed service tasks
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Tihomir Surdilovic <tsurdilo>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: ASSIGNED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1   
Target Milestone: ER2   
Target Release: BRMS 5.3.1 GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
PDF for process
none
PNG for process
none
Repository
none
test repo with two icons
none
Error during PDF image creation when using png icons
none
Server.log for creation PDF with service nodes using png icons
none
Server.log for creation PNG with service nodes using gif icons none

Description Tihomir Surdilovic 2012-08-27 16:14:26 UTC
In Designer, a diagram will show the correct icons on Service Tasks that were designed by the user. When producing a PDF or PNG, only one icon appears for all the different services.
e.g. If a mail task was used in the diagram, along with another service task. It will display the icon for the mail task only, regardless of what the icons would be for the other tasks.

Comment 1 Sona Mala 2012-09-18 13:31:10 UTC
I am not able to create user service task.

https://bugzilla.redhat.com/show_bug.cgi?id=858267

Comment 2 Sona Mala 2012-10-01 14:17:20 UTC
Verified for PDF on BRMS 5.3.1 ER1 and designer 2.3.1-DEV.

PNG is not correct. View attachments. Repository is attached.

Comment 3 Sona Mala 2012-10-01 14:18:00 UTC
Created attachment 619816 [details]
PDF for process

Comment 4 Sona Mala 2012-10-01 14:18:32 UTC
Created attachment 619817 [details]
PNG for process

Comment 5 Sona Mala 2012-10-01 14:18:57 UTC
Created attachment 619818 [details]
Repository

Comment 6 Tihomir Surdilovic 2012-10-02 20:22:57 UTC
Can you please try to reproduce with the repository I attached? I am not able to reproduce this issue. Please try with .png images as icons as I don't think we support gif images.

Thanks.

Comment 7 Tihomir Surdilovic 2012-10-02 20:23:42 UTC
Created attachment 620497 [details]
test repo with two icons

Comment 9 Sona Mala 2012-10-03 07:02:47 UTC
I try your repository. But I must rewrite path to icon in demowid (from .../drools-guvnor/... to .../jboss-brms/...).

You are right. PNG image of process is generated correctly. But I try also PDF and it show me Error page (HTTP Status 500 - Exception report)


So if I use GIF icons I can generate PDF and I am not able to generate PNG.
If I use PNG icons I can generate PNG and I am not able to generate PDF.

Comment 10 Tihomir Surdilovic 2012-10-03 11:53:57 UTC
What error(s) are you getting in the server logs when generating the PDF? The first time you generate the PDF after a server restart it takes some time to load all fonts, but I cannot reproduce locally (both png and pdf generate fine).

Comment 11 Sona Mala 2012-10-03 13:18:56 UTC
Created attachment 620875 [details]
Error during PDF image creation when using png icons

I try generate PDF before I change default tasks to service tasks and generation was correct.

Comment 12 Sona Mala 2012-10-03 13:32:54 UTC
Created attachment 620886 [details]
Server.log for creation PDF with service nodes using png icons

Comment 13 Sona Mala 2012-10-03 14:40:26 UTC
Created attachment 620955 [details]
Server.log for creation PNG with service nodes using gif icons