Bug 1311898 - Double-quotes not working in constants in DataIOEditor
Summary: Double-quotes not working in constants in DataIOEditor
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Tihomir Surdilovic
QA Contact: Kirill Gaevskii
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-25 09:55 UTC by Jeremy Lindop
Modified: 2020-03-27 19:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:40:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
ConsoleError (312.44 KB, image/png)
2016-02-25 09:55 UTC, Jeremy Lindop
no flags Details

Description Jeremy Lindop 2016-02-25 09:55:53 UTC
Created attachment 1130461 [details]
ConsoleError

Description of problem:
If the user tries to create a constant with double quotes, e.g. value="this"  in the DataIOEditor, the constant is not saved correctly.

Version-Release number of selected component (if applicable):
6.2.0.GA

Steps to Reproduce:
1. Create a BP with a User Task
2. Add a DataInput to the task
3. Set the source of the DataInput to a constant which includes double-quotes

Actual results:
When the user clicks the "OK" button, sometimes there is no response (but there's an error in the browser's debug console) and sometimes the constant is apparently saved, but when the BP is saved then reopened, the constant is missing the double-quote characters.

Expected results:
Constants should allow double-quote characters.

Additional info:
See attached image

Comment 2 Jeremy Lindop 2016-04-22 13:37:22 UTC
To reproduce this problem in jbpm-6.4.0.Final:

- Create a BP
- Add a User Task
- Open the Data I/O Editor for the task
- Add a Data Input called "input1" and set the source to the constant "hello", including the double-quote characters at the beginning and end. When the focus leaves the Source text-box, the UI should say ""hello"" indicating that the constant is "hello", with a double-quote before and after the word.
- Click the Save button on the Data I/O Editor
- Open the Data I/O Editor for the task (source still says ""hello"" at this point)
- Click the Save button on the Data I/O Editor
- Open the Data I/O Editor for the task - at this point, the Source value says "hello", i.e. the constant itself has lost its start and end double-quote.


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