Bug 1035465 - Auto-generation of DataOutput mappings can corrupt process definition.
Summary: Auto-generation of DataOutput mappings can corrupt process definition.
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Tihomir Surdilovic
QA Contact: Kirill Gaevskii
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-27 20:31 UTC by Marek Baluch
Modified: 2020-03-27 19:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:02:04 UTC
Type: Feature Request


Attachments (Terms of Use)
screencast (598.75 KB, video/mp4)
2013-11-27 20:31 UTC, Marek Baluch
no flags Details

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


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