Skip to content

[Issue] resolved consistency error for merged indexer xml files #29609

Closed
@m2-assistant

Description

@m2-assistant

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)

  1. magento/magento2#<issue_number>: Issue title

Steps to Reproduce: (*)

  1. Create a simple module with a vendor name which contains at least one number (ex. Cus2tom2)
  2. Add a custom indexer to the module just like on the devdocs
  3. Run in console: php bin/magento setup:upgrade;

Actual Result: ✖️ Invalid doc element "indexer" , attribute "class" ...

Screenshot from 2020-09-29 14-02-19

Expected Result: ✔️ Normal Upgrade output & module gets properly installed.

Screenshot from 2020-09-29 14-07-26

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

Component: IndexerIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions