Bug 1035465

Summary: Auto-generation of DataOutput mappings can corrupt process definition.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0.0CC: etirelli, kverlaen, rrajasek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:02:04 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screencast none

Description Marek Baluch 2013-11-27 20:31:26 UTC
Created attachment 829915 [details]
screencast

Description of problem:
When a user adds a DataObject to the process definition. E.g. to a task then no output mapping is generated until the process is saved and opened again. This can lead to certain potential issues.

The user will be tempted to add the DataOutput mappings by himself. If he defines his own mappings 3 possible outcomes can happen:

1) the file will be corrupted (if the assignment is made from the correct dataoutputset to a non existent dataobject)

2) another mapping will be generated (if names are different than the designer expects)

3) all will go well because the user will create the same mapping definitions as the designer would

Steps to Reproduce:
1. Add a DataObject to a task and experiment with the assignments for a bit.

Additional info:
The attached screencast shows issue 1). More specifically
a) The MyData DataObject is not available in 'Assignments' - 'To Object' menu.
b) That a typo in the 'To Object' field will result in corruption.

Possible solution:
a) The generation should done automatically when the DataObject is bound to Task.
b) The assignment should be left on the user.

Comment 1 Kris Verlaenen 2013-12-12 23:43:31 UTC
This will be addressed in a later release, for now DataObject will be disabled:
https://bugzilla.redhat.com/show_bug.cgi?id=1042524

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

Comment 3 Kris Verlaenen 2014-11-05 13:12:14 UTC
Data Object not yet supported