Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-13327

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 5.1
    • 5.0
    • Tasks
    • None

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              4841a095a236 Anton Tretyak
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: