Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-3645

Duplicable fields in app creation modal can send null values

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      • create an app from the UI
      • add the parameters 1:2 and 3:4
      • delete the first row (1:2)
      • hit submit

      This will generate the following value for container.parameters:
      {{{parameters: [null,

      {key: "3", value: "4"}

      ]}}}

      Note the extraneous null above. The correct JSON would be:
      {{{parameters: [

      {key: "3", value: "4"}

      ]}}}

      The same case affects container.docker.portMappings and may affect env when PR MGI-124 is merged.

        Attachments

          Activity

            People

            • Assignee:
              GitHub_aldipower Felix Gertz (Inactive)
              Reporter:
              GitHub_philipnrmn Philip Norman (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: