Inline script body raw input is not allowed any more in 5.0-rc1

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 5.1
    • Affects Version/s: 5.0
    • Component/s: Tasks
    • None

      It seems that after the most recent update the text from the text area in a task inline scripting section is processed in some weird way when saved.

      Example 1:
      The line "net view
      server" is saved as an incorrect "new view \server".
      The line "new view \\\\server" is saved as a correct "net view
      server" but after clicking the save button again without making any changes I am getting "net view \server" again.

      Example 2:
      The text after the comma is also getting chopped: "echo %DATE:~6,4%" transforms into "echo %DATE:~6" when saved.
      Escaping comma with a backslash: "echo %DATE:~6\,4%" - helps the situation but again only until the second save.

      Important note:
      If you have multiple tasks, when saving one - all the other are re-saved and get spoiled!

              Assignee:
              Unassigned
              Reporter:
              Anton Tretyak
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: