[jboss-jira] [JBoss JIRA] Created: (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"

Toshiya Kobayashi (JIRA) jira-events at lists.jboss.org
Tue Feb 2 00:58:19 EST 2010


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://jira.jboss.org/jira/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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list