Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26321

Booleans for isReadOnly (Volume), isExtract and isExecutable (URI) are not handled properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • mesos-plugin
    • mesos-plugin:0.5.0

      Although the Boolean values for isReadOnly (configurable for a Volume), isExtract and isExecutable (configurable for a URI) are correctly saved to the config.xml of Jenkins, they are not displayed properly when the configuration page is reloaded.

      Therefore, if the config page of Jenkins is saved again (because some other part of the configuration changed), a saved "true" value is overriden by a incorrectly displayed "false" value.

      Edit: Also, the f:checkbox needs a "checked" attribute, not a "value" attribute.

      The problem lies within the "MesosCloud/config.jelly". For the correct handling of the values, the "field" attributes for the "f:checkbox" tags need to be moved to the parent "f:entry" tag.

            vinodkone Vinod Kone
            seder Stefan Prietl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: