Skip to content

product_types.xml doesn't allow numbers in modelInstance #14882

Closed
@domeglic

Description

@domeglic

Preconditions

  1. Magento v2.2.2

Steps to reproduce

  1. Have a module with numbers in vendor name
  2. Create product_types.xml and define a new type

Expected result

  1. No XSD validation errors

Actual result

  1. XSD validation error that modelName does not validate.

product_types_base.xsd does not allow numbers in the modelName type.
Furthermore, searching for the pattern [a-zA-Z_\\] finds more files where this might be a problem.

Similar to #4470.

Metadata

Metadata

Labels

Component: CatalogFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: 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 developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions