mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-12-04 19:16:13 +01:00
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
This commit is contained in:
parent
8acbe136d4
commit
0c9700cf42
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,7 @@ declare(strict_types=1);
|
||||||
namespace WerkraumMedia\ThueCat\Controller\Backend;
|
namespace WerkraumMedia\ThueCat\Controller\Backend;
|
||||||
|
|
||||||
use TYPO3\CMS\Core\Messaging\AbstractMessage;
|
use TYPO3\CMS\Core\Messaging\AbstractMessage;
|
||||||
|
use TYPO3\CMS\Extbase\Annotation as Extbase;
|
||||||
use WerkraumMedia\ThueCat\Domain\Import\Importer;
|
use WerkraumMedia\ThueCat\Domain\Import\Importer;
|
||||||
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration;
|
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration;
|
||||||
use WerkraumMedia\ThueCat\Domain\Repository\Backend\ImportLogRepository;
|
use WerkraumMedia\ThueCat\Domain\Repository\Backend\ImportLogRepository;
|
||||||
|
@ -72,6 +73,9 @@ class ImportController extends AbstractController
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Extbase\IgnoreValidation("importConfiguration")
|
||||||
|
*/
|
||||||
public function importAction(ImportConfiguration $importConfiguration): void
|
public function importAction(ImportConfiguration $importConfiguration): void
|
||||||
{
|
{
|
||||||
$importLog = $this->importer->importConfiguration($importConfiguration);
|
$importLog = $this->importer->importConfiguration($importConfiguration);
|
||||||
|
|
Loading…
Reference in a new issue