-
Improvement
-
Resolution: Fixed
-
Minor
-
None
Currently there are at least three types of it that a Credentials implementation can have its config.jelly invoked with:
- CredentialsStoreAction.DomainWrapper when creating a new credential from the credential domain's screen
- CredentialsStoreAction.CredentialsWrapper when updating an existing credential
- CredentialsSelectHelper.WrappedCredentialsStore when performing an in-place Add from a job page.
The last one is particularly problematic as there is no guaranteed way to get the backing context object from that.
We should standardize on a single object type... it would seem that the CredentialsStore would be the ideal candidate.... leaving instance to be the existing Credential in the event of an update.
- is related to
-
JENKINS-19413 StaplerRequest.getAncestor does not work for lazy block
-
- Open
-
- links to
[JENKINS-36315] Confusion on how to get form validation URLs in config.jelly
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR #62 (Web Link)" [ 14577 ] |
Description |
Original:
Currently there are at least three types of `it` that a {{Credentials}} implementation can have its {{config.jelly}} invoked with: * {{CredentialsStoreAction.DomainWrapper}} when creating a new credential from the credential domain's screen * {{CredentialsStoreAction.CredentialsWrapper}} when updating an existing credential * {{CredentialsSelectHelper.WrappedCredentialsStore}} when performing an in-place Add from a job page. The last one is particularly problematic as there is no guaranteed way to get the backing context object from that. We should standardize on a single object type... it would seem that the {{CredentialsStore}} would be the ideal candidate.... leaving {{instance}} to be the existing {{Credential}} in the event of an update. |
New:
Currently there are at least three types of {{it}} that a {{Credentials}} implementation can have its {{config.jelly}} invoked with: * {{CredentialsStoreAction.DomainWrapper}} when creating a new credential from the credential domain's screen * {{CredentialsStoreAction.CredentialsWrapper}} when updating an existing credential * {{CredentialsSelectHelper.WrappedCredentialsStore}} when performing an in-place Add from a job page. The last one is particularly problematic as there is no guaranteed way to get the backing context object from that. We should standardize on a single object type... it would seem that the {{CredentialsStore}} would be the ideal candidate.... leaving {{instance}} to be the existing {{Credential}} in the event of an update. |
Link | New: This issue is related to JENKINS-19413 [ JENKINS-19413 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 173014 ] | New: JNJira + In-Review [ 199380 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |