<< Back to previous view

[QB-3443] HTML Fields using script code, gets converted to html
Created: 13/Sep/19  Updated: 08/Mar/20

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 9.0.20
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Robin Shen Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
If you edit a html field like Configuration Description and click on source button
and then enter a script and save it seems to work fine.
But if you go back to edit this script, it is converted to html.
Example:

${groovy: "Testing" + "Test2";}
Returns "TestingTest2
Go edit the field and change script and save it, displayed:
${groovy: "Testing" + "Test2s";}

If you click source button it shows:
<p>${groovy: &quot;Testing&quot; + &quot;Test2s&quot;;}</p>

 Comments   
Comment by Robin Shen [ 08/Mar/20 06:38 AM ]
When in html mode, the editor treats the whole content as html, and will decorate/escape it. There is an option in system setting to disable html editor in case scripting is used.
Generated at Sat Apr 20 05:16:34 UTC 2024 using JIRA 189.