summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src
diff options
context:
space:
mode:
authorawnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-01-29 17:22:16 +0000
committerawnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-01-29 17:22:16 +0000
commitf864fd722941ff0e079e29f5baca962ebd79d115 (patch)
tree6cb8773b39aa03c00fcef5f1332791f20f1bd9d3 /pki/base/common/src
parent3aa6852e11e998e1723eaf4b263c8469f1a051b4 (diff)
downloadpki-f864fd722941ff0e079e29f5baca962ebd79d115.tar.gz
pki-f864fd722941ff0e079e29f5baca962ebd79d115.tar.xz
pki-f864fd722941ff0e079e29f5baca962ebd79d115.zip
Fixed bugzilla bug #516632.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@953 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/common/src')
-rw-r--r--pki/base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/pki/base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java b/pki/base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java
index 90f6290b2..d96501f4e 100644
--- a/pki/base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java
+++ b/pki/base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java
@@ -248,6 +248,21 @@ public class CAEnrollProfile extends EnrollProfile {
else
request.setExtData("isEncryptionCert", "false");
+ // Need to update request record to prevent issue 325612 and bug 516632
+ IRequestQueue queue = ((IAuthority)ca).getRequestQueue();
+ if (queue == null) {
+ CMS.debug("CAEnrollProfile: Cannot access CA's request queue");
+ } else {
+ try {
+ queue.updateRequest(request);
+ CMS.debug("CAEnrollProfile: request "+request.getRequestId().toString()+" updated");
+ } catch (EBaseException e) {
+ CMS.debug("CAEnrollProfile: Request commit error " +
+ e.toString());
+ }
+ }
+ // End of fix for issue 325612 and bug 516632
+
IRequestNotifier notifier = ca.getRequestNotifier();
if (notifier != null && notifier.isPublishingQueueEnabled()) {
CMS.debug("about to addToNotify");