Bug 969277

Summary: A Data Object associated with a Sequence Flow
Product: [Retired] JBoss BPMS Platform 6 Reporter: Toshiya Kobayashi <tkobayas>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: kverlaen, lpetrovi, mbaluch, rrajasek, rzhang
Target Milestone: ---   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:12:47 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
RepositoryServer.log
none
MenuValidationServer.log
none
MenuSaveServer.log
none
MenuCodeServer.log none

Description Toshiya Kobayashi 2013-05-31 06:37:15 UTC
Description of problem:

Platform BZ for https://issues.jboss.org/browse/JBPM-4020


Steps to Reproduce:

See details in JBPM-4020

1.
 A) Create a Data Object associated with a Sequence Flow by clicking a Sequence Flow and then clicking a Data Object in the shape menu.

 or

 B) Create a Data Object from Shape Repository Panel in left pane and associate it with 'Association (undirected)' to a Sequence Flow.

 In either way, the process will be like Screenshot_my_example_before_saving.jpg in JBPM-4020. Please test both ways.

2. Validate the process
3. Save the process

Actual results:

A) Exception in server.log when validate. Error message in server.log when save. The process is not saved.

B) No problem when validate. Exception in server.log when save. The process is not saved.


Expected results:

No error when validate/save in both (A/B) cases. The process is saved.

Comment 1 JBoss JIRA Server 2013-06-05 00:33:49 UTC
Tihomir Surdilovic <tsurdilo> made a comment on jira JBPM-4020

Will allow for this shortcut (dataobject associated with sequenceflow) asap. As workaround currently associate the dataobject with the tasks as shown in Figure 10.67 of spec if possible pls.

Comment 2 JBoss JIRA Server 2013-06-11 20:07:13 UTC
Tihomir Surdilovic <tsurdilo> updated the status of jira JBPM-4020 to Resolved

Comment 3 JBoss JIRA Server 2013-06-11 20:07:13 UTC
Tihomir Surdilovic <tsurdilo> made a comment on jira JBPM-4020

fix in master

Comment 4 Sona Mala 2013-08-29 12:19:00 UTC
Not fixed for BPMS ER2

Exceptions was changed in server.log:
 - DataObject from Shape Repository
     -> validation is ok
     -> save throws an exception in server.log (attached as RepositoryServer.log)
     -> reopen - process was saved and Designer shows DataObject with association
     -> a BPMN2 source code for affected task is able to open
 - DataObject from Shape Menu
     -> Validation throws NPE exception in server.log (attached as MenuValidationServer.log)
     -> save throws NPE exception in server.log (attached as MenuSaveServer.log)
     -> a BPMN2 source code for affected task throws NPE exception in server.log (attached as MenuCodeServer.log)

Comment 5 Sona Mala 2013-08-29 12:21:59 UTC
Created attachment 791746 [details]
RepositoryServer.log

Comment 6 Sona Mala 2013-08-29 12:22:34 UTC
Created attachment 791754 [details]
MenuValidationServer.log

Comment 7 Sona Mala 2013-08-29 12:24:05 UTC
Created attachment 791758 [details]
MenuSaveServer.log

Comment 8 Sona Mala 2013-08-29 12:25:29 UTC
Created attachment 791759 [details]
MenuCodeServer.log

Comment 9 Kris Verlaenen 2014-02-11 02:04:57 UTC
Re-enabling data object post 6.0.1.GA
https://bugzilla.redhat.com/show_bug.cgi?id=1042524