magento2-menu
magento2-menu copied to clipboard
Snowdog\Menu\Model\ResourceModel\Menu\Node afterSave method throws Exception when used with Database Prefix
Currently, when installed on an instance with a database prefix, the node saving fails with table 'databasename.snowmenu_customer' not found.
This is because $this->getConnection();
uses a resource that has been instantiated without the concept of Magento database prefixes.
Replication Steps
- Install Magento with database prefix.
- Create Menu in admin panel.
- Add Node type of custom url and fill out information
- Hit Save.
- Error
table 'databasename.snowmenu_customer' not found.
is show.
Fix PR'd: https://github.com/SnowdogApps/magento2-menu/pull/345