Gerwin Jansen created JENKINS-12976:
---------------------------------------

             Summary: TypeError: checkUrl uses Form.findMatchingInput which is 
not available
                 Key: JENKINS-12976
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12976
             Project: Jenkins
          Issue Type: Bug
          Components: jira
         Environment: Windows 7 x64.
Jenkins ver. 1.451
JIRA Plugin ver. 1.29
            Reporter: Gerwin Jansen
            Priority: Critical
         Attachments: JIRA plugin script error screenshot.png

Uncaught TypeError: Object #<Object> has no method 'findMatchingInput'

{code:javascript|title=hudson-behavior.js:337:339}
e.targetUrl = function() {
   return eval(this.getAttribute("checkUrl"));
};
{code}

{{this.getAttribute("checkUrl")}} results in 
{{'/jenkins/jobProperty/JiraProjectProperty/userPatternCheck?userPattern=' + 
escape(Form.findMatchingInput(this, 'jira.userPattern').value)}}. {{eval}} of 
this string leads to the TypeError.

Tested with Chrome, Firefox and Internet Explorer. See attached screenshot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to