From d48037b3109120d3532f368eae2d61a8906066f6 Mon Sep 17 00:00:00 2001
From: owenbush <owenbush@2765259.no-reply.drupal.org>
Date: Mon, 11 May 2020 17:39:43 -0600
Subject: [PATCH] Issue #3134983 by owenbush: Recurrence field validation not
 working

---
 src/Form/EventSeriesForm.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Form/EventSeriesForm.php b/src/Form/EventSeriesForm.php
index a7900541..36fe19c2 100644
--- a/src/Form/EventSeriesForm.php
+++ b/src/Form/EventSeriesForm.php
@@ -316,7 +316,7 @@ class EventSeriesForm extends ContentEntityForm {
 
     if ($trigger['#id'] !== 'edit-confirm' && array_search($trigger['#name'], $ignored_triggers) === FALSE && $editing) {
       $original = $this->storage->loadUnchanged($entity->id());
-      if ($this->creationService->checkForFormRecurConfigChanges($original, $form_state)) {
+      if (empty($form_state->getErrors()) && $this->creationService->checkForFormRecurConfigChanges($original, $form_state)) {
         $this->step = 1;
         $form_state->setRebuild(TRUE);
       }
-- 
GitLab