Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 955ad0315d1072199b789de632b553fee9c47412
      
https://github.com/jenkinsci/jenkins/commit/955ad0315d1072199b789de632b553fee9c47412
  Author: Vincent Latombe <[email protected]>
  Date:   2023-05-20 (Sat, 20 May 2023)

  Changed paths:
    M core/src/main/java/hudson/model/AbstractItem.java
    M test/src/test/java/hudson/model/AbstractItemTest.java

  Log Message:
  -----------
  `AbstractItem#doReload` should not be calling `SaveableListener#fireOnChange` 
(#7984)

* Abstract#doReload should not be calling SaveableListener#fireOnChange

Was initially added as ce7e6390ee29ab59ebff92a8f3033c9e5ef02f4e

SaveableListener.fireOnChange is typically called when saving an object,
not when loading it. This call should be removed.

* Verify new behaviour with a test

* Only make the test extension applicable to the reload test case


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/b560aa-955ad0%40github.com.

Reply via email to