[JIRA] (JENKINS-42228) Javascript error credentials select

2 views
Skip to first unread message

josephp90@gmail.com (JIRA)

unread,
Feb 21, 2017, 12:38:02 PM2/21/17
to jenkinsc...@googlegroups.com
Joseph Petersen created an issue
 
Jenkins / Task JENKINS-42228
Javascript error credentials select
Issue Type: Task Task
Assignee: Stephen Connolly
Components: core, credentials-plugin
Created: 2017/Feb/21 5:37 PM
Environment: Jenkins 2.32.2
Priority: Minor Minor
Reporter: Joseph Petersen

Seems to be related to credentials plugin when visiting Configure with a credentials plugin select box loaded.
The error seems innocence, reporting it since I seen it around for awhile now.
Maybe this did not https://github.com/jenkinsci/jenkins/commit/372bfb81acc11bd37a9a5979ba18512b429acb9 fix it completely.

https://github.com/jenkinsci/jenkins/blob/master/war/src/main/webapp/scripts/hudson-behavior.js#L417

But line 417:

e.targetElement = findFollowingTR(e, "validation-error-area").firstChild.nextSibling;

Results in

This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.

hudson-behavior.js:472 Unable to find nearby url
(anonymous) @ hudson-behavior.js:472
(anonymous) @ prototype.js:853
each @ prototype.js:852
registerValidator @ hudson-behavior.js:469
(anonymous) @ behavior.js:111
(anonymous) @ behavior.js:107
applySubtree @ behavior.js:93
(anonymous) @ select.js:269

hudson-behavior.js:417 Uncaught TypeError: Cannot read property 'firstChild' of undefined
    at registerValidator (http://vasbld06:8080/static/a29569d7/scripts/hudson-behavior.js:417:66)
    at Array.forEach (native)
    at http://vasbld06:8080/static/a29569d7/scripts/behavior.js:111:30
    at Array.forEach (native)
    at http://vasbld06:8080/static/a29569d7/scripts/behavior.js:107:27
    at Array.forEach (native)
    at Object.applySubtree (http://vasbld06:8080/static/a29569d7/scripts/behavior.js:93:17)
    at http://vasbld06:8080/adjuncts/a29569d7/lib/credentials/select/select.js:269:19
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 12, 2017, 7:20:04 AM3/12/17
to jenkinsc...@googlegroups.com
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

josephp90@gmail.com (JIRA)

unread,
Mar 12, 2017, 7:22:05 AM3/12/17
to jenkinsc...@googlegroups.com
Joseph Petersen updated an issue
Change By: Joseph Petersen
Seems to be related to credentials plugin when visiting Configure with a credentials plugin select box loaded.
The error seems innocence, reporting it since I seen it around for awhile now.
Maybe this did not
[ https://github.com/jenkinsci/jenkins/commit/372bfb81acc11bd37a9a5979ba18512b429acb9 ] fix it completely.

[ https://github.com/jenkinsci/jenkins/blob/master/war/src/main/webapp/scripts/hudson-behavior.js#L417 ]

But line 417:

{code:java}

e.targetElement = findFollowingTR(e, "validation-error-area").firstChild.nextSibling;
{code}

Results in
{code:java}

This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.

hudson-behavior.js:472 Unable to find nearby url
(anonymous) @ hudson-behavior.js:472
(anonymous) @ prototype.js:853
each @ prototype.js:852
registerValidator @ hudson-behavior.js:469
(anonymous) @ behavior.js:111
(anonymous) @ behavior.js:107
applySubtree @ behavior.js:93
(anonymous) @ select.js:269

hudson-behavior.js:417 Uncaught TypeError: Cannot read property 'firstChild' of undefined
    at registerValidator (http:// vasbld06 localhost :8080/static/a29569d7/scripts/hudson-behavior.js:417:66)
    at Array.forEach (native)
    at http://
vasbld06 localhost :8080/static/a29569d7/scripts/behavior.js:111:30
    at Array.forEach (native)
    at http://
vasbld06 localhost :8080/static/a29569d7/scripts/behavior.js:107:27
    at Array.forEach (native)
    at Object.applySubtree (http://
vasbld06 localhost :8080/static/a29569d7/scripts/behavior.js:93:17)
    at http://
vasbld06 localhost :8080/adjuncts/a29569d7/lib/credentials/select/select.js:269:19
{code}

stephen.alan.connolly@gmail.com (JIRA)

unread,
Oct 31, 2018, 6:00:19 AM10/31/18
to jenkinsc...@googlegroups.com
Stephen Connolly assigned an issue to Unassigned
 

Removing myself as assignee. My current work assignments do not provide sufficient bandwidth to review these issues and in the majority of cases I am only assigned by virtue of being the default assignee. For the credentials-api and scm-api related plugins I have permission to allocate time reviewing changes to these APIs themselves to ensure these APIs remain cohesive, but that can be handled through PR reviews rather than assigning issues in JIRA

Change By: Stephen Connolly
Assignee: Stephen Connolly
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

josephp90@gmail.com (JIRA)

unread,
Mar 7, 2020, 1:10:17 AM3/7/20
to jenkinsc...@googlegroups.com
Joseph Petersen assigned an issue to Joseph Petersen
Change By: Joseph Petersen
Assignee: Joseph Petersen
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

josephp90@gmail.com (JIRA)

unread,
Mar 7, 2020, 1:16:03 AM3/7/20
to jenkinsc...@googlegroups.com
Joseph Petersen assigned an issue to Stephen Connolly
Change By: Joseph Petersen
Assignee: Joseph Petersen Stephen Connolly
Reply all
Reply to author
Forward
0 new messages