jenkinsci / jenkinsci/credentials-plugin

[JENKINS-49645] Dynamically added credentials Add button doesn't work

Open
#800 3 comments 0 reactions 0 assignees View on GitHub
component:credentials-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
134
Forks
258
Avg merge
48m
Merged PRs (30d)
1

Description

This is essentially the root cause ticket for JENKINS-42546">JENKINS-42546 / JENKINS-42599">JENKINS-42599

This is caused by the workaround for JENKINS-26578">JENKINS-26578 (source).

It causes the YUI button in the 'template' block used by repeatable to be rendered before the html text is captured by repeatable behaviour initialization.

Then later, when it is inserted, the behaviour doesn't work properly since the markup is not what is expected.

If I set a larger timeout (3000) in the JENKINS-26578">JENKINS-26578 hack, then the new entries get added properly and the Add button works fine.

---
Originally reported by vlatombe, imported from: Dynamically added credentials Add button doesn't work


  • status: Open
  • priority: Minor
  • component(s): credentials-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 2025-12-08

Raw content of original issue

This is essentially the root cause ticket for JENKINS-42546 / JENKINS-42599

This is caused by the workaround for JENKINS-26578 (source).

It causes the YUI button in the 'template' block used by repeatable to be rendered before the html text is captured by repeatable behaviour initialization.

Then later, when it is inserted, the behaviour doesn't work properly since the markup is not what is expected.

If I set a larger timeout (3000) in the JENKINS-26578 hack, then the new entries get added properly and the Add button works fine.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.