Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JENKINS-8660: loading the build history cause an NPE on the History W…
…idget loadAllBuildHistory() fails to set the headers field on the replacement buildHistory DOM element. The patch fixes the problem by recreating a headers field. It also: * slightly refactor the loadAllBuildHistory() method for readability * add a FIXME note that the server side history widget should fail if the n parameter is missing. * add a pre-condition check to the buildHistory() update to catch potential bugs (note that the logging is disabled as Yahoo.log doesn't appear available)
- Loading branch information
Showing
3 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters