From 12a2d961f0234198160f27f982d6a4d4e854ad57 Mon Sep 17 00:00:00 2001 From: Tomas Norre Mikkelsen Date: Mon, 7 Oct 2024 08:21:00 +0200 Subject: [PATCH] [FEATURE] Disallow DOKTYPE_BE_USER_SECTION (#1101) --- CHANGELOG.md | 1 + Classes/Service/PageService.php | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58533278e..b66bdbd01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * Information when page does not exists when crawler:buildQueue command is called from cli ### Changed +* Disallow DOKTYPE_BE_USER_SECTION to be crawled ### Fixed * Prevent exception `Truncated incorrect DECIMAL value` in `crawler:processQueue` [@xyng](https://github.com/xyng) diff --git a/Classes/Service/PageService.php b/Classes/Service/PageService.php index 2cdfb998e..4ab8a41fd 100644 --- a/Classes/Service/PageService.php +++ b/Classes/Service/PageService.php @@ -101,6 +101,7 @@ private function getDisallowedDokTypes(): array PageRepository::DOKTYPE_SPACER, PageRepository::DOKTYPE_SYSFOLDER, PageRepository::DOKTYPE_RECYCLER, + PageRepository::DOKTYPE_BE_USER_SECTION, ]; } }