Bug 864794

Summary: Validator marks boundary event by "Node has no incoming connections"
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Sona Mala <smala>
Component: jBPM 5Assignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED DUPLICATE QA Contact: Sona Mala <smala>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1CC: brms-jira, kverlaen, lpetrovi, paradhya
Target Milestone: ---Flags: kverlaen: needinfo+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-18 13:18:35 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:
Attachments:
Description Flags
Repository with BPMN2 processes
none
process in repo
none
BPMN2 process image none

Description Sona Mala 2012-10-10 07:16:29 UTC
Description of problem:
Validator marks boundary event by alert "Node has no incoming connection". For the boundary event, there is an attribute "attachedToRef" instead of attribute "incoming connection". From BPMN 2 definition: "If the Intermediate Event is attached to the boundary of an Activity then the Intermediate Event MUST NOT be a target for a Sequence Flow; it cannot have an incoming Sequence Flows."


Version-Release number of selected component (if applicable):
BRMS 5.3.1 ER1(ER2) and designer 2.3.1-DEV

How reproducible:
When attach any event to activity as boundary event

Steps to Reproduce:
 1. clear a repository (or import idle repository)
 2. create new process (call sub-process)
       Start->Task->XORgateway->End
                        |->Error
 3. validate process (create PNG, set property "ErrorRef" for Error End Event)
 4. save and close process
 5. create new process (call boundaryevent)
       Start->ReusableSubprocess With BoundaryEvent->End
 6. create PNG image, set property "ErrorRef" for boundary error event, set property "Called Element" for Reusable Subprocess
 7. validate
  
Actual results:
Validation marks boundary event

Expected results:
Alert "There are no validation errors"

Additional info:
<bpmn2:boundaryEvent xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" id="_88B653A2-3371-40BC-A100-28CF073B7256" drools:bgcolor="#f5deb3" xmlns:drools="http://www.jboss.org/drools" drools:selectable="true" drools:bordercolor="#a0522d" drools:boundaryca="false" name="" attachedToRef="_F206DAF8-C0B6-4D9B-A1EC-DB381B0A1F96" cancelActivity="false">
      <bpmn2:outgoing>_C85DB60A-72BB-40FC-85EE-7634269409CF</bpmn2:outgoing>
      <bpmn2:errorEventDefinition id="_yThN4RIgEeKS37fzgw701A" errorRef="_yThN4hIgEeKS37fzgw701A"/>
    </bpmn2:boundaryEvent>

Comment 1 Sona Mala 2012-10-10 07:21:08 UTC
*** Bug 864790 has been marked as a duplicate of this bug. ***

Comment 2 Tihomir Surdilovic 2012-10-11 21:50:18 UTC
Could you please attach the bpmn2 or the images of both of these processes?

Comment 3 Sona Mala 2012-10-18 08:13:35 UTC
Created attachment 629227 [details]
Repository with BPMN2 processes

Comment 4 Tihomir Surdilovic 2012-10-18 12:00:56 UTC
What I am supposed to test in the attached repo? When I open the process called "process" it does not look correct (will attach image). The process called "subprocess" does not include any boundary events.

thanks.

Comment 5 Tihomir Surdilovic 2012-10-18 12:01:35 UTC
Created attachment 629330 [details]
process in repo

Comment 6 Sona Mala 2012-10-18 12:40:29 UTC
Created attachment 629354 [details]
BPMN2 process image

Comment 7 Sona Mala 2012-10-18 12:46:15 UTC
I import repository and everything is normal. You can see it on attached image.

Comment 8 Tihomir Surdilovic 2012-10-18 12:57:23 UTC
Thanks, setting boundary events on call activities has been disabled in the community . I am looking for a JIRA and then will backport that to 2.3.x branch.

Comment 9 Tihomir Surdilovic 2012-10-18 13:03:31 UTC
Ok, this BX should be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=852114

https://bugzilla.redhat.com/show_bug.cgi?id=852114 however has been set to FUTURE, even tho it has a blocker+ flag. I don't know what to do. The fix for https://bugzilla.redhat.com/show_bug.cgi?id=852114 needs to be applied to fix this BZ...let me know what to do.

Comment 10 Lukáš Petrovický 2012-10-18 13:18:35 UTC

*** This bug has been marked as a duplicate of bug 852114 ***