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

Adjuncts and lazy loading failures in global configuration

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When defining a Global Pipeline Library, the Retrieval method does not seem to be lazy loading or populating adjucts correctly.

      This is most easily seen when initially selecting either Modern SCM or Legacy SCM:

       

      Notice how all the child radio buttons are all pre-expanded.

      The UI is also confusing as you have two sets of radio buttons and the Modern SCM child radios do not show any differentiation with the Legacy SCM sibling radio.

      The fix may be as simple as to switch to a dropDownDescriptorSelector as that would lazy-load its content... though even there it may additionally be necessary to have the SCMs populated from another drop-down...

       

      Care will be required to ensure that the lazy attribute is properly populated so that the required state is captured whatever solution is implemented

        Attachments

          Issue Links

            Activity

            Hide
            stephenconnolly Stephen Connolly added a comment -

            Andrew Bayer / Sam Van Oort / Jesse Glick see attached PR for proposed fix

            Show
            stephenconnolly Stephen Connolly added a comment - Andrew Bayer / Sam Van Oort / Jesse Glick see attached PR for proposed fix

              People

              • Assignee:
                Unassigned
                Reporter:
                stephenconnolly Stephen Connolly
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: