<< Back to previous view |
[QB-3463] Cannot edit 'HTML Message' Gadet if it contains Groovy code
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 9.0.20 |
Fix Version/s: | 9.0.27 |
Type: | Bug | Priority: | Major |
Reporter: | Helmut Namyslo | Assigned To: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
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): --------------- ${groovy: return "<p>" + node.getHostName() + "</p>"; } --------------- This will work as expected. Now try to edit this gadet: The code is destroyed --------------- <p>${groovy: return "</p> <p>" + node.getHostName() + "</p> <p>"; }</p> --------------- |
Comments |
Comment by Robin Shen [ 09/Nov/19 01:26 AM ] |
9.0.27 adds an option "disable html editor" in system setting. |