From 32b69015b62bfba1d2c5680da25682ae03a1b58a Mon Sep 17 00:00:00 2001 From: Nollymar Longa Date: Mon, 28 Aug 2017 19:03:07 -0500 Subject: [PATCH] Issue 12267 static push can not push to some regions (#12446) * #12267 Solving issue with static push status. It got stuck in Publishing Bundle status * #12267 Fixing issue related to static push status * Removing commented lines --- .../com/dotcms/publisher/business/PublisherQueueJob.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dotCMS/src/main/java/com/dotcms/publisher/business/PublisherQueueJob.java b/dotCMS/src/main/java/com/dotcms/publisher/business/PublisherQueueJob.java index 39980ff88e72..67b591196be6 100644 --- a/dotCMS/src/main/java/com/dotcms/publisher/business/PublisherQueueJob.java +++ b/dotCMS/src/main/java/com/dotcms/publisher/business/PublisherQueueJob.java @@ -296,11 +296,7 @@ private void updateAuditStatus() throws DotPublisherException, DotDataException } } else { PublishAuditStatus pas = pubAuditAPI.getPublishAuditStatus(bundleAudit.getBundleId()); - if (pas != null && pas.getStatus() == PublishAuditStatus.Status.BUNDLE_SENT_SUCCESSFULLY) { - countGroupFailed--; - } else if (pas != null && pas.getStatus().name().toLowerCase().startsWith("failed") && localHistory.getNumTries() >= MAX_NUM_TRIES) { - countGroupFailed++; - } + endpointTrackingMap.putAll(pas.getStatusPojo().getEndpointsMap()); } } }