Closed
Description
This issue is automatically created based on existing pull request: #27212: resolved consistency error for merged indexer xml files
The allowed values in classType should be equal in unmerged and merged indexer.xml files
Allowing only letters and backspaces is wrong, since PHP-namespaces can also contain numbers.
Preconditions: (*)
Magento 2.4-develop
Related Pull Requests
Fixed Issues (if relevant)
- magento/magento2#<issue_number>: Issue title
Steps to Reproduce: (*)
- Create a simple module with a vendor name which contains at least one number (ex. Cus2tom2)
- Add a custom indexer to the module just like on the devdocs
- Run in console:
php bin/magento setup:upgrade;
Actual Result: ✖️ Invalid doc element "indexer" , attribute "class" ...
Expected Result: ✔️ Normal Upgrade output & module gets properly installed.
Questions or comments
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects non-critical data or functionality and does not force users to employ a workaround.