From 0815b7e9988fbfb5018e3fc1d6062360ea9d4e8a Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Thu, 2 Mar 2023 10:20:28 +0000
Subject: [PATCH] Issue #3343847 by alexpott: The route
 system.batch_page.normal was changed to system.batch_page.html but some code
 still uses it

---
 core/modules/node/node.module                          | 2 +-
 core/modules/system/src/Controller/BatchController.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/modules/node/node.module b/core/modules/node/node.module
index 84221887fd19..cdeca4ab22a7 100644
--- a/core/modules/node/node.module
+++ b/core/modules/node/node.module
@@ -41,7 +41,7 @@ function node_help($route_name, RouteMatchInterface $route_match) {
   // Remind site administrators about the {node_access} table being flagged
   // for rebuild. We don't need to issue the message on the confirm form, or
   // while the rebuild is being processed.
-  if ($route_name != 'node.configure_rebuild_confirm' && $route_name != 'system.batch_page.normal' && $route_name != 'help.page.node' && $route_name != 'help.main'
+  if ($route_name != 'node.configure_rebuild_confirm' && $route_name != 'system.batch_page.html' && $route_name != 'help.page.node' && $route_name != 'help.main'
     && \Drupal::currentUser()->hasPermission('access administration pages') && node_access_needs_rebuild()) {
     if ($route_name == 'system.status') {
       $message = t('The content access permissions need to be rebuilt.');
diff --git a/core/modules/system/src/Controller/BatchController.php b/core/modules/system/src/Controller/BatchController.php
index d234a4e7e79a..804e5470e85f 100644
--- a/core/modules/system/src/Controller/BatchController.php
+++ b/core/modules/system/src/Controller/BatchController.php
@@ -76,7 +76,7 @@ public function batchPage(Request $request) {
   }
 
   /**
-   * The _title_callback for the system.batch_page.normal route.
+   * The _title_callback for the system.batch_page.html route.
    *
    * @return string
    *   The page title.
-- 
GitLab