mygento/jeeves

Admin page sample_module/customeraddress 404

Closed this issue · 1 comments

Precond:

  • Run generated code under Magento 2.2.
  • Click on CustomerAddress grid in menu (in Stores by default)
Expected:

CustomerAddress grid is available

Actual:

CustomerAddress grid is unavailable (404).

It happens because of lishnee podcherkivanie in app/code/Mygento/SampleModule/etc/adminhtml/menu.xml action="sample_module/customer_address" . Underscore separates folders! Camelcased entities should be without underscore!

Correct version:

<?php
action="sample_module/customeraddress"

And consequently - Underscore should be removed from layout filenames.
A takzhe vot zdes ubrat underscore:

    <settings>
        <submitUrl path="sample_module/customer_address/save"/>
    </settings>

resolved with next release