From 0c9700cf4289b1986c59747ae5a887307c27ef8c Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 28 Nov 2022 15:36:26 +0100 Subject: [PATCH] Allow to import configurations via backend module again (#85) This broke with introduction of latest import date. This could not be validated, but we do not need validation anyway and therefore turn it off. Relates: #9266 --- Classes/Controller/Backend/ImportController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Classes/Controller/Backend/ImportController.php b/Classes/Controller/Backend/ImportController.php index 1b935ec..0a5021b 100644 --- a/Classes/Controller/Backend/ImportController.php +++ b/Classes/Controller/Backend/ImportController.php @@ -24,6 +24,7 @@ declare(strict_types=1); namespace WerkraumMedia\ThueCat\Controller\Backend; use TYPO3\CMS\Core\Messaging\AbstractMessage; +use TYPO3\CMS\Extbase\Annotation as Extbase; use WerkraumMedia\ThueCat\Domain\Import\Importer; use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration; use WerkraumMedia\ThueCat\Domain\Repository\Backend\ImportLogRepository; @@ -72,6 +73,9 @@ class ImportController extends AbstractController ]); } + /** + * @Extbase\IgnoreValidation("importConfiguration") + */ public function importAction(ImportConfiguration $importConfiguration): void { $importLog = $this->importer->importConfiguration($importConfiguration);