-
Task
-
Resolution: Fixed
-
Minor
-
None
See this blog post for details. Prototype will eventually be removed from Jenkins core. To prepare for this transition, this plugin must be migrated away from Prototype. The blog post contains instructions on how to find and eliminate usages of Prototype. In this plugin, the following usages of Prototype have been identified. This may not be an exhaustive list:
./src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/config.jelly:36: var div = $$('params'); ./src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/config.jelly:37: new Ajax.Request('${descriptor.descriptorUrl}/parameters?job=' + encodeURIComponent($$('${jobFieldId}').value) + '&context=' + encodeURIComponent('${descriptor.context}'), { ./src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly:92: inputElement = $$('form[action="submit"] input[value="'+pName+'"]')[0]; ./src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly:96: if(inputElement.next().tagName == "SELECT"){ ./src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly:98: inputElement.next('select').getElementsBySelector('option[value="'+fieldValue+'"]')[0].selected="selected"; ./src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly:100: inputElement.next('input').value=fieldValue; ./src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly:108: inputElement.next('.jenkins-checkbox').getElementsBySelector('input')[0].checked=fieldValue; ./src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly:119: optionsArray = $$('form[action="submit"] input[value="'+pName+'"]')[0].next('select').getElementsBySelector('option'); ./src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly:120: optionsArray.each(function(item){ ./src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly:126: inputFields = $$('form[action="submit"] .jenkins-input'); ./src/main/resources/hudson/plugins/release/ReleaseWrapper/ReleaseAction/index.jelly:127: inputFields.each(function(item) {
[JENKINS-71304] Remove usages of Prototype from Release
Attachment | New: image-2023-06-30-11-25-34-637.png [ 60692 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "https://github.com/jenkinsci/release-plugin/pull/42 (Web Link)" [ 28768 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Fixed but Unreleased [ 10203 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Remote Link | New: This issue links to "https://github.com/jenkinsci/release-plugin/pull/44 (Web Link)" [ 28824 ] |