Bug 790866 - Generation of process diagram for jBPM console is not user friendly in JBoss BRMS
Summary: Generation of process diagram for jBPM console is not user friendly in JBoss ...
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Sona Mala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-15 15:33 UTC by Sona Mala
Modified: 2020-04-27 01:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)

Description Sona Mala 2012-02-15 15:33:49 UTC
Description of problem:
Problem with creation of process diagram for jBPM console. I think that current implementation is not user friendly. 
Diagram is not created in assets without clicking on icon "View in PNG". This process should be automatic. The icon should be used to download current diagram. It should not be used to generate diagram for jBPM console.

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


How reproducible:


Steps to Reproduce:
1. Create a new process in Knowledge Base 
2. Add and set some elements(tasks, start,terminate etc.)
3. Save the process
4. Open assets
  
Actual results:
You do not find {processID}-image.png in assets.

Expected results:
Designer should generate {processID}-image.png automatically during saving the process because this file is required for viewing the state of instance in jBPM console.


Additional info:

Actual icon "View in PNG" generates {processID}-image.png in assets only if a process is saved.

Comment 2 Zuzana Krejčová 2012-04-17 13:14:58 UTC
Clicking "View PNG" also results in an error in the server log, though the picture is generated just fine (it seems) and is downloaded and viewable.

15:10:44,857 ERROR [STDERR] org.w3c.dom.DOMException: <unknown>:
The attribute "stroke-dasharray" represents an invalid CSS value ("").
Original message:
Unexpected token: 0 (see LexicalUnits).
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
15:10:44,857 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
15:10:44,858 ERROR [STDERR] 	at org.jbpm.designer.web.server.TransformerServlet.guvnorStore(TransformerServlet.java:534)
15:10:44,858 ERROR [STDERR] 	at org.jbpm.designer.web.server.TransformerServlet.storeToGuvnor(TransformerServlet.java:433)
15:10:44,858 ERROR [STDERR] 	at org.jbpm.designer.web.server.TransformerServlet.doPost(TransformerServlet.java:174)
15:10:44,858 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
15:10:44,858 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
15:10:44,858 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
15:10:44,858 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
15:10:44,858 ERROR [STDERR] 	at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
15:10:44,858 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
15:10:44,858 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
15:10:44,858 ERROR [STDERR] 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
15:10:44,858 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
15:10:44,858 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
15:10:44,858 ERROR [STDERR] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
15:10:44,859 ERROR [STDERR] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
15:10:44,859 ERROR [STDERR] 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
15:10:44,859 ERROR [STDERR] 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
15:10:44,859 ERROR [STDERR] 	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
15:10:44,859 ERROR [STDERR] 	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
15:10:44,859 ERROR [STDERR] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
15:10:44,859 ERROR [STDERR] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
15:10:44,859 ERROR [STDERR] 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
15:10:44,859 ERROR [STDERR] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
15:10:44,859 ERROR [STDERR] 	at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
15:10:44,859 ERROR [STDERR] 	at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
15:10:44,859 ERROR [STDERR] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
15:10:44,859 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
15:10:44,859 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
15:10:44,859 ERROR [STDERR] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
15:10:44,859 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:679)
15:10:44,859 ERROR [STDERR] ERROR: null
Enclosed Exception:
<unknown>:
The attribute "stroke-dasharray" represents an invalid CSS value ("").
Original message:
Unexpected token: 0 (see LexicalUnits).


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