The value 'Vendor\Xxx5\Model\Queue\Consumer::processMessage' is not accepted by the pattern '[a-zA-Z\\]+::[a-zA-Z]+'. #16168
Labels
Issue: Format is not valid
Gate 1 Failed. Automatic verification of issue format is failed
The xml validator fail when you pass a class with numeric value in it's namespace.
Preconditions
Magento 2.2.2
magento/framework-message-queue
Steps to reproduce
bin/magento setup:upgrade
Actual result
The value 'Vendor\Xxx5\Model\Queue\Consumer::processMessage' is not accepted by the pattern '[a-zA-Z\]+::[a-zA-Z]+'.
Work arround
Created a virtualType for my class without a number in it's namespace
Solution
At vendor/magento/framework-message-queue/etc/queue_base.xsd
Fix the pattern to accept numbers (Make sure it doesn't allow start with number)
[a-zA-Z]+[a-zA-Z0-9\\]+::[a-zA-Z0-9]+
should workThe text was updated successfully, but these errors were encountered: