-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.64
When a administrative monitor is disabled, in the Manage Jenkins page the isActivated method is called before the isEnabled one, so e.g., if the computation of the activated state throws an error it will continue to do so even with the monitor disabled.
This does not happen in the page decorated, which checks the state in the correct order.
- links to
Code changed in jenkins
User: Andres Rodriguez
Path:
core/src/main/java/jenkins/management/AdministrativeMonitorsDecorator.java
core/src/main/java/jenkins/model/Jenkins.java
core/src/main/resources/jenkins/model/Jenkins/manage.jelly
http://jenkins-ci.org/commit/jenkins/ce07ccbcd74cb9954c54137af8268e00629f7363
Log:
JENKINS-44608Don't check for monitor activation if it is disabled