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

Bamboo Script task impossible to persist escaped XML characters using inline script

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.9.7
    • None
    • Tasks
    • None

    Description

      When using the Script task to write an inline script using any one of the following escaped XML characters:

      • &
      • <
      • >
      • "
      • '

      After save, when you go back to the task to edit it, those escaped XML characters are automatically unescaped. It appears to be impossible to keep and persist escaped characters. This becomes a problem when attempting to write a simple XML file that has escaped characters within an attribute - which in itself is VALID XML. The result of doing so creates an INVALID XML file. See screenshots for details.

      Attachments

        1. BambooBugStep1.PNG
          BambooBugStep1.PNG
          12 kB
        2. BambooBugStep2.PNG
          BambooBugStep2.PNG
          12 kB

        Activity

          People

            pbruski Przemek Bruski
            4bc4945c7a40 Todd Behunin
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: