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

Key: QB-3463
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Helmut Namyslo
Votes: 0
Watchers: 0

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

Cannot edit 'HTML Message' Gadet if it contains Groovy code

Created: 08/Nov/19 08:38 AM   Updated: 09/Nov/19 01:26 AM
Component/s: None
Affects Version/s: 9.0.20
Fix Version/s: 9.0.27

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

 Description  « Hide
We do have a couple of 'HTML Message' Gadets which are containing Groovy code to dynamically create HTML.
Since we updated from QuickBuild 8.x to 9.0.20 we cannot edit these gadets without destroying the code.

Here is a small example. Add a 'HTML Message' Gadet with this code (use souce code edit mode):
return "<p>" + node.getHostName() + "</p>";

This will work as expected. Now try to edit this gadet: The code is destroyed
<p>${groovy: return &quot;</p>

<p>&quot; + node.getHostName() + &quot;</p>

<p>&quot;; }</p>

 All   Comments   Work Log   Change History      Sort Order:
No work has yet been logged on this issue.