-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: needs updatebug report
Description
When defining a route in etc/frontend/routes.xml:
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../lib/internal/Magento/Framework/App/etc/routes.xsd">
<router id="standard">
<route id="mzeis_test123" frontName="test123">
<module name="Mzeis_Test123" />
</route>
</router>
</config>
The XSD doesn't allow to use numbers in the id attribute of the route node, see routes.xsd and routes_merged.xsd.
Is there a reason for doing that? Given that numbers are valid in the module names as well as routerIdType and I expect developers to use the name of the module for the route id in many cases I'd suggest to allow numbers (or better: the same pattern as for the module name).
Metadata
Metadata
Assignees
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: needs updatebug report