[jboss-jira] [JBoss JIRA] (GPD-388) GPD generates text which is surrunded by tab/newline for action handler's Config Info even if config-type="constructor" or "configuration-property"
Koen Aers (JIRA)
issues at jboss.org
Mon Sep 5 11:25:02 EDT 2016
[ https://issues.jboss.org/browse/GPD-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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/JBPM_Reference_Manual/index.html#configurationofdelegations
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list