[Issue] MessageValidator fails on hash arrays that dont have 0 element #30563
Labels
Component: MessageQueue
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: done
Reported on 2.4.0
Indicates original Magento version for the Issue report.
Severity: S2
Major restrictions or short-term circumventions are required until a fix is available.
Projects
This issue is automatically created based on existing pull request: #30521: MessageValidator fails on hash arrays that dont have 0 element
Magento\Framework\MessageQueue\Test\Unit\MessageValidatorTest::testInvalidMessageType with data set #11 (array('object_interface', 'Magento\Customer\Api\Data\Cus...face[]'), array(23, 545), 'Data in topic "topic" must be...e[]". ')
PHPUnit\Framework\Exception: Notice: Undefined offset: 0 in /magento/lib/internal/Magento/Framework/MessageQueue/MessageValidator.php:157.
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: