Kaleo designer script saved with incorrect format

Description

Line breaks are replaced by <br/> and </br> codes and the script does not work due to the incorrect format. 

Steps to reproduce:

  1. Start a master-private, 7.0.x-private or 7.1.x-private bundle.

  2. Go to Control Panel -> Kaleo Designer option.

  3. Click Add New Definition.

  4. Add a Condition to the View panel.

  5. Double click on the newly added Condition.

  6. Go to the management toolbar on the left and double click on the Script value.

  7. Add a new line in the script and save, for example: 

       8. Check again the value of the script field.

Expected result  the value remains the same with the changes added.

Actual result : line breaks are replaced with <br/> and </br> codes, which will make the script fail.

 

Activity

Show:

Joyce WangDecember 11, 2018 at 10:06 PM

PASSED Manual Testing following the steps in the description.

Fixed on:
Tomcat 9.0.10 + MySQL 5.6. Portal master-private GIT ID: 1f8eda285eb36a71d4b3be1bac19809eb9099740.

The value remains the same with the changes added.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Branch Version/s

7.2.x
7.1.x
7.0.x

Backported to Branch

Committed

Fix Priority

3

Git Pull Request

Bug Type

Regression Bug

7.0 Fix Pack Version

70

7.1 Fix Pack Version

7

Story Points

Components

Priority

Zendesk Support

Created November 29, 2018 at 8:41 AM
Updated June 26, 2023 at 1:57 AM
Resolved December 11, 2018 at 1:23 PM