From 6a5549a7197562e31903b44c8020adf6cce1d81d Mon Sep 17 00:00:00 2001 From: ctippler Date: Wed, 31 Jan 2024 09:01:22 +0100 Subject: [PATCH] ['debug:translation', 'translation:extract'] commands cause issue on 11.1.4 #199 --- src/Service/CommandsValidator.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Service/CommandsValidator.php b/src/Service/CommandsValidator.php index 1943789..6455623 100644 --- a/src/Service/CommandsValidator.php +++ b/src/Service/CommandsValidator.php @@ -35,6 +35,8 @@ public function __construct(string $strategy = 'default', array $whiteList = [], { $this->setStrategy($strategy); $this->setWhiteList($whiteList); + //add 'debug:translation', 'translation:extract' as they cause issues on Pimcore 11.1.4 + $blackList = array_merge($blackList, ['debug:translation', 'translation:extract']); $this->setBlackList($blackList); }