Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snowdog\Menu\Model\ResourceModel\Menu\Node afterSave method throws Exception when used with Database Prefix #346

Closed
antbates91 opened this issue Oct 7, 2024 · 1 comment · Fixed by #345

Comments

@antbates91
Copy link
Contributor

antbates91 commented Oct 7, 2024

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

  1. Install Magento with database prefix.
  2. Create Menu in admin panel.
  3. Add Node type of custom url and fill out information
  4. Hit Save.
  5. Error table 'databasename.snowmenu_customer' not found. is show.

Fix PR'd:
#345

@andrzejborkowski
Copy link

thank you for reporting the issue, I created an internal ticket SMM-25 and we'll check your PR soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants