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

cascaded active choice Radio Boxes does not auto update

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • active-choices-plugin
    • None
    • Jenkins LTS 2.401.3
      active-choice plugin 2.7
    • 2.7.2

      Hello,

      I have a quite complex freestyle project which have 9 active choices element on it. With the previous plugin version: 2.6.5 everything was worked as expected. Here is the controls / variable description:

      1) Active Choices Reactive Parameter #1 (Groovy Script)
      INPUT: VARIABLE1 (Choice Parameter), VARIABLE2 (Choice Parameter)
      OUTPUT: VARIABLE3 (Radio Buttons)

      2) Active Choices Reactive Parameter #2 (Groovy Script)
      INPUT: VARIABLE1 (Choice Parameter), VARIABLE2 (Choice Parameter), VARIABLE3 (Active Choices Reactive Parameter #1)
      OUTPUT: VARIABLE4 (Single Select)

      3) Active Choices Reactive Reference Parameter #3 (Groovy Script)
      INPUT: VARIABLE1 (Choice Parameter)
      OUTPUT: VARIABLE5 (Single Select)

      4) Active Choices Reactive Reference Parameter #4 (Groovy Script)
      INPUT: VARIABLE1 (Choice Parameter), VARIABLE2 (Choice Parameter), VARIABLE4 (Single Select)
      OUTPUT: VARIABLE6 (Formatted HTML: <input name=\"value\" value=\"${dynRefParam}\" class=\"setting-input\" type=\"text\">)

      5) Active Choices Reactive Parameter #5 (Groovy Script)
      INPUT: VARIABLE7 (Boolean Parameter)
      OUTPUT: VARIABLE8 (Multi Select)

      6) Active Choices Reactive Parameter #6 (Groovy Script)
      INPUT: VARIABLE1 (Choice Parameter), VARIABLE2 (Choice Parameter), VARIABLE3 (Radio Buttons), VARIABLE4 (Single Select)
      OUTPUT: VARIABLE9 (Check Boxes)

      7) Active Choices Reactive Parameter #7 (Groovy Script)
      INPUT: VARIABLE9 (Check Boxes)
      OUTPUT: VARIABLE10 (Radio Buttons)

      8) Active Choices Reactive Parameter #8 (Groovy Script)
      INPUT: VARIABLE1 (Choice Parameter), VARIABLE2 (Choice Parameter), VARIABLE4 (Single Select), VARIABLE7 (Boolean Parameter), VARIABLE10 (Radio Buttons)
      OUTPUT: VARIABLE11 (Radio Buttons)

      9) Active Choices Reactive Parameter #9 (Groovy Script)
      INPUT: VARIABLE2 (Choice Parameter)
      OUTPUT: VARIABLE12 (Check Boxes)

       

       

      where the #7 active choice does not get automatically updated with the correct input parameters. The input parameter: VARIABLE9 contains just 1 element for the specific faulty case

      Not all the active choices elements are involved in the decision of the returned value of the #7 element, I just mentioned it to have a complete picture for the task configuration.

       

      Let me known if any more description is required or if I can make some further investigations.

       

            rahulsom Rahul Somasunderam
            szjozsef Jozsef
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: