-
-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Bug Report
Current Behavior
It's causing an exception when adding a flashmessage via CheckProductAvailabilityEvent->addMessage().
It's due to the fact that Cart/CartController->updateAction() is serializing the message and then passing on the severity parameter as integer.
TypeError
TYPO3\CMS\Extbase\Mvc\Controller\ActionController::addFlashMessage(): Argument #3 ($severity) must be of type TYPO3\CMS\Core\Type\ContextualFeedbackSeverity, int given, called in /var/www/html/vendor/extcode/cart/Classes/Controller/Cart/CartController.php on line 161
Expected behavior/output
No exception obviously ;-)
Environment
- TYPO3 version(s): 13
- cart version: 11.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels