History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3443
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Robin Shen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

HTML Fields using script code, gets converted to html

Created: 13/Sep/19 11:24 PM   Updated: 08/Mar/20 06:38 AM
Component/s: None
Affects Version/s: 9.0.20
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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>

 All   Comments   Work Log   Change History      Sort Order:
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.