Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
folders:6.11.0
-
-
cloudbees-folder:6.12
Description
Although a ComputedFolder supports the disable functionality and can be used by appending /disable to the folder URL, they do not show the Enable/Disable button in the UI.
According to the code, I think it should work https://github.com/jenkinsci/cloudbees-folder-plugin/blob/cloudbees-folder-6.11/src/main/resources/com/cloudbees/hudson/plugins/folder/AbstractFolder/view-index-top.jelly#L45-L68 but Multibranch / Organization folder fo not show that button. The UI seeems to match that Jelly but never passes the condition !it.supportsMakeDisabled()
Attachments
Issue Links
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Francisco Fernández [ fcojfernandez ] | Allan BURDAJEWICZ [ allan_burdajewicz ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Remote Link | This issue links to "cloudbees-folder-plugin #143 (Web Link)" [ 24352 ] |
Released As | cloudbees-folder:6.12 | |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Fixed but Unreleased [ 10203 ] |
Status | Fixed but Unreleased [ 10203 ] | Resolved [ 5 ] |
After further investigation, the problem is that the AbstractFolder#supportsMakeDisabled and ComputedFolder#supportsMakeDisabled are protected methods and in that case jelly just pass through <j:when test="${!it.supportsMakeDisabled()}">.
Could not find the documentation about method visibility requirements for jelly though.