Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-87963

Kaleo designer script saved with incorrect format

    Details

    • Fix Priority:
      3

      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: 
      returnValue = "Transition Name";
      //test
      

             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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cristina.rodriguez Cristina Rodriguez
              Reporter:
              cristina.rodriguez Cristina Rodriguez
              Participants of an Issue:
              Recent user:
              Cristina Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 47 weeks, 6 days ago

                  Packages

                  Version Package