Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-6079

Upload jar files: Java commands are JAVA_ARGS not the purported container command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • openshift-4.9
    • openshift-4.9
    • UI
    • ODC Sprint 205
    • Low

      Description of problem:

      When a user uploads a jar file the form shows an input for the "Java commands" (which should be "Java command" if this is the cli command).

      But this field doesn't set the Java command (container command) as expected or purport. It sets the environment variable JAVA_ARGS instead. This could confuse users which expect to set a java command like "java -jar ... -port 8080 -otherParameter true" here.

      Prerequisites (if any, like setup, operators/versions):

      None

      Steps to Reproduce

      1. Open developer perspective
      2. Add page > Upload jar file

      Actual results:

      JAVA_ARGS environment variable field is labeled as "Java commands"

      Expected results:

      If setting the JAVA_ARGS as environment variables works fine for our users (instead of setting the container command), the field should be labeled as "Java arguments (JAVA_ARGS)".

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      4.8 and 4.9 master

      Additional info:

      None

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Gajanan More Gajanan More (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: