Details

      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.

      returnValue = "Transition Name";<br/></br>//test
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                cristina.rodriguez Cristina Rodriguez
                Participants of an Issue:
                Recent user:
                Clarissa Velazquez
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  23 weeks ago