Bug 1267857 - JBPM-4785 data mappper escapes special chars in CDATA in process XML
JBPM-4785 data mappper escapes special chars in CDATA in process XML
Product: JBoss BPMS Platform 6
Classification: JBoss
Component: jBPM Designer (Show other bugs)
Unspecified Unspecified
urgent Severity unspecified
: ER4
: 6.2.0
Assigned To: Tihomir Surdilovic
Marián Macik
: 1267859 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2015-10-01 04:50 EDT by Jeremy Lindop
Modified: 2018-01-30 18:35 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker JBPM-4785 Major Resolved data mappper escapes special chars in process XML 2015-11-12 10:40 EST

  None (edit)
Description Jeremy Lindop 2015-10-01 04:50:58 EDT
Description of problem:
Te data mapper is putting special characters (like urls) escaped in the process XML (but since they are in a CDATA section they shouldn't).


Put into a constant for an Input Assignment in the data mapper: http://api.zippopotam.us/us/{zip}

Stored in XML: http%3A%2F%2Fapi.zippopotam.us%2Fus%2F%7Bzip%7D

Version-Release number of selected component (if applicable):
6.3.0.Final Community

How reproducible:

Steps to Reproduce:
1. Create a BP with a User Task
2. Add a data input to the task
3. Assign the constant http://api.zippopotam.us/us/{zip} to the input
4. View the process BPMN2 - the URl is URLEncoded in a CDATA section
Comment 1 Jeremy Lindop 2015-10-01 04:56:14 EDT
*** Bug 1267859 has been marked as a duplicate of this bug. ***
Comment 3 Jeremy Lindop 2015-10-01 10:40:23 EDT
BZ1267857 / JBPM-4785 Fix problem assigning URLs to data inputs in data mapper

master: https://github.com/droolsjbpm/jbpm-designer/commit/5ecaa0ec19d597f0889d6ee0ca13c2f2ba0893be
6.3.X: https://github.com/droolsjbpm/jbpm-designer/commit/219fff9a222f637f51577aef8ca685f305143523

Note: this undoes the previous fix for 
because that fix created a bigger problem than it solved.

https://bugzilla.redhat.com/show_bug.cgi?id=1268005 has been created to cover BZ1244966 and the wider issue of handling our internal markup characters in constants.
Comment 4 JBoss JIRA Server 2015-10-01 10:41:41 EDT
Jeremy Lindop <jlindop@redhat.com> updated the status of jira JBPM-4785 to Coding In Progress
Comment 5 JBoss JIRA Server 2015-10-01 13:11:19 EDT
Jeremy Lindop <jlindop@redhat.com> updated the status of jira JBPM-4785 to Resolved
Comment 6 Marián Macik 2015-10-23 09:24:44 EDT
Verified with 6.2.0.ER4.

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