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

Value of radioBlock passed weird through @QueryParameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins-2.73.1-LTS
    • Similar Issues:

      Description

      I want to get the value of radioBlock using

      @QueryParameter

      , but I can only get the value of the radioBlock which its tag:check==true (In another word, always get value of radioBlock which is checked in the last save)

       

      I know we cannot get the value of radioBlock through @QueryParameter in the last LTS version, but after https://github.com/jenkinsci/jenkins/pull/2734 release, we can get this value. However, when I query in the "doVerifyConfiguration", it returns the right value. When I query in the "doFill...Items", it returns wrong value.
       

        Attachments

          Activity

          Hide
          zackliu Chenyang Liu added a comment -

          R. Tyler Croy, could you please take a look about this issue. It result in some problems in Azure VM Agent Plugin for a long time. Existing Storage Account will be empty when user choose Existing Resource Group but not leaving blank in New Resource Group. doFillExistingStorageAccountNameItems cannot query the right value of resourceGroupReferenceType.

          Show
          zackliu Chenyang Liu added a comment - R. Tyler Croy , could you please take a look about this issue. It result in some problems in Azure VM Agent Plugin for a long time. Existing Storage Account will be empty when user choose Existing Resource Group but not leaving blank in New Resource Group. doFillExistingStorageAccountNameItems cannot query the right value of resourceGroupReferenceType.
          Hide
          rtyler R. Tyler Croy added a comment -

          I'm not really qualified to answer this, sorry. I'm bouncing the ticket to Daniel Beck since he might be able to help

          Show
          rtyler R. Tyler Croy added a comment - I'm not really qualified to answer this, sorry. I'm bouncing the ticket to Daniel Beck since he might be able to help
          Hide
          danielbeck Daniel Beck added a comment -

          Chenyang Liu Could you provide an example for the described behavior? Perhaps an existing plugin with a minor change demonstrating what you want to have happen?

          Show
          danielbeck Daniel Beck added a comment - Chenyang Liu Could you provide an example for the described behavior? Perhaps an existing plugin with a minor change demonstrating what you want to have happen?

            People

            • Assignee:
              danielbeck Daniel Beck
              Reporter:
              zackliu Chenyang Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: