• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins 1.610, Extensible Choice Parameter plugin 1.2.2

      I installed latest jenkins 1.610
      I installed Extensible Choice Parameter plugin 1.2.2.

      I created "Global Choice Parameter".
      I tried to use it in job "test" but when I save the job I see this error "No stapler-class is specified"

          [JENKINS-28046] Error: No stapler-class is specified

          Ivan Stankov created issue -
          Ivan Stankov made changes -
          Link New: This issue is related to JENKINS-25403 [ JENKINS-25403 ]
          Ivan Stankov made changes -
          Environment New: Jenkins 1.610, Extensible Choice Parameter plugin 1.2.2

          ikedam added a comment -

          Reproduced with Jenkins 1.610.
          The data submit was:

          			"parameterized": {
          				"parameter": {
          					"name": "test",
          					"description": "",
          					"": "2",
          					"choiceListProvider": {
          						"choiceListText": "a\nb\nc",
          						"defaultChoice": "###NODEFAULTCHOICE###",
          						"addEditedValue": false,
          						"whenToAdd": "Triggered",
          						"kind": ""
          					},
          					"editable": false,
          					"stapler-class": "jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition",
          					"$class": "jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition"
          				}
          			}
          

          There's no stapler-class or $class for choiceListProvider.
          This looks rather related to JENKINS-28011, which is a bug in Jenkins 1.610 and will be fixed in Jenkins 1.611.

          ikedam added a comment - Reproduced with Jenkins 1.610. The data submit was: "parameterized": { "parameter": { "name": "test", "description": "", "": "2", "choiceListProvider": { "choiceListText": "a\nb\nc", "defaultChoice": "###NODEFAULTCHOICE###", "addEditedValue": false, "whenToAdd": "Triggered", "kind": "" }, "editable": false, "stapler-class": "jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition", "$class": "jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition" } } There's no stapler-class or $class for choiceListProvider . This looks rather related to JENKINS-28011 , which is a bug in Jenkins 1.610 and will be fixed in Jenkins 1.611.
          ikedam made changes -
          Assignee New: ikedam [ ikedam ]
          ikedam made changes -
          Link New: This issue is related to JENKINS-28011 [ JENKINS-28011 ]
          ikedam made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          ikedam added a comment -

          ikedam added a comment - https://github.com/jenkinsci/extensible-choice-parameter-plugin/pull/12

          Daniel Beck added a comment -

          ikedam Did you test this with 1.611? It looks like nodejs remains broken, so maybe JENKINS-28011 did not fix related issues.

          Daniel Beck added a comment - ikedam Did you test this with 1.611? It looks like nodejs remains broken, so maybe JENKINS-28011 did not fix related issues.

          ikedam added a comment -

          Doesn't reproduce with Jenkins 1.611.

          JENKINS-28110 (Performance plugin) and JENKINS-28114 (Nodejs plugin) looks caused by overriding `Descriptor#getId`, which is not yet fixed in 1.611, and doesn't look affect extensible-choice-parameter.

          ikedam added a comment - Doesn't reproduce with Jenkins 1.611. JENKINS-28110 (Performance plugin) and JENKINS-28114 (Nodejs plugin) looks caused by overriding `Descriptor#getId`, which is not yet fixed in 1.611, and doesn't look affect extensible-choice-parameter.

            ikedam ikedam
            istankov85 Ivan Stankov
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: