Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
Jenkins 1.509.4
Jenkins 1.532.1 RC1
Firefox 17.0.10 ESR
Description
The error screens shown for invalid configurations after pressing 'Apply' don't work.
Steps to reproduce:
0. Install Jenkins Enterprise with Cloudbees Template Plugin 4.1
1. Create a job template
3. Clear the 'name' attribute's ID field
4. Press 'Apply'
Expected result: Error message shown
Actual result: Huge, empty dialog with title 'Error' shown (error screen seems to appear, but is immediately removed)
Attachments
Issue Links
- is related to
-
JENKINS-17401 Renaming a job and clicking 'Apply' shows an empty 'Error' pop-over window
-
- Resolved
-
-
JENKINS-19826 Apply button does not work in IE Compat View
-
- Resolved
-
-
JENKINS-21457 Replace description in error dialog instead of appending
-
- Resolved
-
Code changed in jenkins
User: Jesse Glick
Path:
war/src/main/webapp/scripts/hudson-behavior.js
http://jenkins-ci.org/commit/jenkins/9620057a58dc07b52752683a433e200f36d4317d
Log:
When a server error is caught by applyErrorMessage (“ERROR” link), do not render the whole oops.jelly page.
Just pick out the <div id="error-description"> from
JENKINS-20772.Compare: https://github.com/jenkinsci/jenkins/compare/7ddc6be48716...9620057a58dc