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

Creating a variable larger that 4000 characters results in validation error

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 9.1.0
    • 9.0.0, 7.2.10
    • Variables
    • None

      Issue Summary

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      GUI:

      1. Go to the global variables admin pane.
      2. Create a variable with a value larger than 4000 characters.

      REST API:

      1. Enable admin rest endpoints
      2. Create a variable with a value larger than 4000 characters via REST API.

      Expected Results

      Bamboo should allow the creation of variables with a size of 65535 bytes (UTF-8 encoding)

      Actual Results

      Length exceeds 4000 characters.
      

      Bamboo displays a validation error

      Workaround

      Currently, there is no known workaround for this behaviour. A workaround will be added here when available

            [BAM-21890] Creating a variable larger that 4000 characters results in validation error

            Wioletta Dys made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Mateusz Szmal made changes -
            Fix Version/s New: 9.1.0 [ 102591 ]
            Mateusz Szmal made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Mateusz Szmal made changes -
            Status Original: Short Term Backlog [ 12074 ] New: In Progress [ 3 ]
            Mateusz Szmal made changes -
            Remote Link New: This issue links to "+core+ Dogfooding › Test Git Branch Detection › issue-BAM-21890-variables-char-limit (tardigrade-bamboo)" [ 687496 ]
            Mateusz Szmal made changes -
            Assignee New: Mateusz Szmal [ 851f15845f55 ]
            Ricardo made changes -
            Description Original: h3. Issue Summary

            This is reproducible on Data Center: (yes)
            h3. Steps to Reproduce

            GUI:
             # Go to the global variables admin pane.
             # Create a variable with a value larger than 4000 characters.

            REST API:
             # Enable admin rest endpoints
             # Create a variable with a value larger than 4000 characters via REST API.

            h3. Expected Results

            Bamboo should allow the creation of variables with a size of 65535 bytes (UTF-8 encoding)
            h3. Actual Results
            {noformat}

            {noformat}
            Bamboo displays a validation error
             !Screenshot 2022-09-19 at 14.58.11.png|thumbnail!

            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available
            New: h3. Issue Summary

            This is reproducible on Data Center: (yes)
            h3. Steps to Reproduce

            GUI:
             # Go to the global variables admin pane.
             # Create a variable with a value larger than 4000 characters.

            REST API:
             # Enable admin rest endpoints
             # Create a variable with a value larger than 4000 characters via REST API.

            h3. Expected Results

            Bamboo should allow the creation of variables with a size of 65535 bytes (UTF-8 encoding)
            h3. Actual Results
            {noformat}
            Length exceeds 4000 characters.
            {noformat}
            Bamboo displays a validation error
             !Screenshot 2022-09-19 at 14.58.11.png|thumbnail!

            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available
            Ricardo made changes -
            Description Original: h3. Issue Summary

            This is reproducible on Data Center: (yes)
            h3. Steps to Reproduce

            GUI:
             # Go to the global variables admin pane.
             # Create a variable with a value larger than 4000 characters.

            REST API:
             # Enable admin rest endpoints
             # Create a variable with a value larger than 4000 characters via REST API.

            h3. Expected Results

            Bamboo should allow the creation of variables with a size of 65535 bytes (UTF-8 encoding)
            h3. Actual Results

            Bamboo displays a validation error
             !Screenshot 2022-09-19 at 14.58.11.png|thumbnail!

            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available
            New: h3. Issue Summary

            This is reproducible on Data Center: (yes)
            h3. Steps to Reproduce

            GUI:
             # Go to the global variables admin pane.
             # Create a variable with a value larger than 4000 characters.

            REST API:
             # Enable admin rest endpoints
             # Create a variable with a value larger than 4000 characters via REST API.

            h3. Expected Results

            Bamboo should allow the creation of variables with a size of 65535 bytes (UTF-8 encoding)
            h3. Actual Results
            {noformat}

            {noformat}
            Bamboo displays a validation error
             !Screenshot 2022-09-19 at 14.58.11.png|thumbnail!

            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available
            Ricardo made changes -
            Description Original: h3. Issue Summary

            This is reproducible on Data Center: (yes)
            h3. Steps to Reproduce

            GUI:
             # Go to the global variables admin pane.
             # Create a variable with a value larger than 4000 characters.

            REST API:
             # Enable admin rest endpoints
             # Create a variable with a value larger than 4000 characters via REST API.

            h3. Expected Results

            Bamboo should allow the creation of variables with a size of 65535 bytes (UTF-8 encoding)
            h3. Actual Results

            Bamboo displays a validation error

            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available
            New: h3. Issue Summary

            This is reproducible on Data Center: (yes)
            h3. Steps to Reproduce

            GUI:
             # Go to the global variables admin pane.
             # Create a variable with a value larger than 4000 characters.

            REST API:
             # Enable admin rest endpoints
             # Create a variable with a value larger than 4000 characters via REST API.

            h3. Expected Results

            Bamboo should allow the creation of variables with a size of 65535 bytes (UTF-8 encoding)
            h3. Actual Results

            Bamboo displays a validation error
             !Screenshot 2022-09-19 at 14.58.11.png|thumbnail!

            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available
            Ricardo made changes -
            Description Original: h3. Issue Summary

            This is reproducible on Data Center: (yes)
            h3. Steps to Reproduce

            GUI:
             # Go to the global variables admin pane.
             # Create a variable with a value larger than 4000 characters.

            REST API:
             # Enable admin rest endpoints
             # Create a variable with a value larger than 4000 characters via REST API.

            h3. Expected Results

            Bamboo should allow the creation of variables with a size of 65535 bytes (UTF-8 encoding)
            h3. Actual Results

            Bamboo displays a validation error
            {noformat}
             {noformat}
            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available
            New: h3. Issue Summary

            This is reproducible on Data Center: (yes)
            h3. Steps to Reproduce

            GUI:
             # Go to the global variables admin pane.
             # Create a variable with a value larger than 4000 characters.

            REST API:
             # Enable admin rest endpoints
             # Create a variable with a value larger than 4000 characters via REST API.

            h3. Expected Results

            Bamboo should allow the creation of variables with a size of 65535 bytes (UTF-8 encoding)
            h3. Actual Results

            Bamboo displays a validation error

            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available

              851f15845f55 Mateusz Szmal
              0ecd005f55dd Krzysztof Podsiadło
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: