Bug 1268005
| Summary: | Markup characters in constants are not saved in datamapper | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jeremy Lindop <jlindop> |
| Component: | jBPM Designer | Assignee: | Tihomir Surdilovic <tsurdilo> |
| Status: | CLOSED EOL | QA Contact: | Kirill Gaevskii <kgaevski> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2.0 | CC: | kverlaen, lpetrovi, rrajasek |
| Target Milestone: | DR1 | ||
| Target Release: | 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-27 19:39:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jeremy Lindop
2015-10-01 14:38:02 UTC
Fixed by making sure markup characters in constants are encoded and decoded behind the sceneds, when necessary. 6.3.x https://github.com/droolsjbpm/jbpm-designer/commit/897f12aafb3082358fcae1e29ee23d7616760563 master https://github.com/droolsjbpm/jbpm-designer/commit/a89938ca70ed3143408eef56b676c785432be618 Hi Jeremy,
Is it good enough to encode symbol "," to "##" and symbol "=" to "||"?
Also I can to imagine some constant string like "A |= B" which after decoding will be "A =| B" (the same situation with "#," which will be ",#") because of constant_value.replaceAll("||", "=").
And is it expected that if you will type some constant value with "\" symbol (like "C:\Documents\here") I/O Editor have no reaction for Save button click?
Google Chrome shows:
"SEVERE [LogConfiguration] Exception caught: (SyntaxError) : Unexpected token d" error message at
"org.kie.workbench.KIEWebapp-0.js:32449".
Fixed by URLEncoding and URLDecoding constants when necessary. master: https://github.com/droolsjbpm/jbpm-designer/commit/4a949ed0e6d095770b741c2087eefed0e285c6b6 There is no changes on 6.3.x branch and in current release. P.S. Master branch works good. Set to MODIFIED but changed target release to 6.3.0 Verified for 6.3.DR1 |