]
Koen Aers resolved GPD-388.
---------------------------
Resolution: Out of Date
GPD generates text which is surrunded by tab/newline for action
handler's Config Info even if config-type="constructor" or
"configuration-property"
---------------------------------------------------------------------------------------------------------------------------------------------------
Key: GPD-388
URL:
https://issues.jboss.org/browse/GPD-388
Project: jBPM GPD
Issue Type: Bug
Components: jpdl
Affects Versions: jBPM jPDL Designer 3.1.7
Reporter: Toshiya Kobayashi
Assignee: Koen Aers
Priority: Minor
1. Create and select a node in GPD editor
2. Set Action Handler in Properties View
3. Set "Config Type" SelectBox to "Constructor" or
"Compatibility"
4. Set value like "Test" into the "Config Info" TextArea
5. See the source xml contains value "Test" surrounded by tab/newline
<action class="ActionHandler" config-type="constructor">
Test
</action>
On jBPM runtime engine side, config-type="constructor" or
"configuration-property" indicates the action handler to take the complete text
in xml without trimming [1].
This leads to unexpected result for users -- even if they understand that
config-type="constructor" doesn't trim the text in jBPM runtime, they
don't expect that GPD adds tab/newline to the input text. Better behavior would be
trimming the input text in TextArea by GPD before passing it to xml.
<action class="ActionHandler"
config-type="constructor">Test</action>
[1]
http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/4.3.CP02/html-single/...