Issue Type: Bug Bug
Affects Versions: current
Assignee: suresh nallamilli
Attachments: popupErrorMsg.jpg
Components: core
Created: 30/Jan/13 11:45 PM
Description:

Getting warning message in a popup saying "Failed to evaluate. Invalid arguments" for jelly form control validateButton. I am getting this pop up irrespective of actual result of validation.

This is happening only in Internet Explorer(8 and 9). This is not getting reproduced when running jenkins using "mvn hpi:run" but
getting reproduced when running jenkins using command "java -jar jenkins.war" and then manually importing hpi file from advanced tab.

For complete details , refer to discussion in
https://groups.google.com/forum/#!topic/jenkinsci-dev/h4vlO8SkA60

Sample to reproduce this issue is available in my github
https://github.com/sureshreddygithub/jenkinssamples.git

or alternatively you can install https://wiki.jenkins-ci.org/display/JENKINS/SCTMExecutor plugin and try to validate in global configuration in IE.

Root cause:

For validate button form control , implementation is available @ scripts/hudson-behavior.js

In validate function , we are using a custom function geval which is causing the issue.

If i replace geval with eval i see that everything works as expected in IE as well.

I will be submitting the fix in git shortly

Environment: Windows 2008 R2 64 bit , Internet Explorer (8 and 9)
Project: Jenkins
Labels: plugin _javascript_
Priority: Blocker Blocker
Reporter: suresh nallamilli
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to