Key: |
QB-3463
|
Type: |
Bug
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Unassigned
|
Reporter: |
Helmut Namyslo
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
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
|
|
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>
---------------
|
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>
---------------
|
Show » |
|