Skip to content

Commit

Permalink
[FEATURE] Disallow DOKTYPE_BE_USER_SECTION (#1101)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasnorre authored Oct 7, 2024
1 parent 8ad77e0 commit 12a2d96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions Classes/Service/PageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ private function getDisallowedDokTypes(): array
PageRepository::DOKTYPE_SPACER,
PageRepository::DOKTYPE_SYSFOLDER,
PageRepository::DOKTYPE_RECYCLER,
PageRepository::DOKTYPE_BE_USER_SECTION,
];
}
}

0 comments on commit 12a2d96

Please sign in to comment.