Web200 / magento-seo

Magento 2 Seo module
14 stars 6 forks source link

PageBuilder Internal Server Error when adding Products #5

Open memen45 opened 9 months ago

memen45 commented 9 months ago

After some testing I found a weird bug with the PageBuilder when this module is enabled.

Steps to reproduce

Any idea where the error could be coming from or where to look?

memen45 commented 2 months ago

Still present in Magento 2.4.7-p2

Would be happy to help, but I am not sure what would help you reproduce and find the cause of the bug!

memen45 commented 2 months ago

System Info:

This is a development system, not in production mode.

memen45 commented 2 months ago

Adding a di.xml file to the adminhtml directory with the following contents seem to have solved the issue:

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="Web200\Seo\Api\CmsPageUrlRetrieverInterface" type="Web200\Seo\Service\HrefLang\CmsPageUrlRetriever" />
    <preference for="Web200\Seo\Api\CategoryUrlRetrieverInterface" type="Web200\Seo\Service\HrefLang\CategoryUrlRetriever" />
    <preference for="Web200\Seo\Api\ProductUrlRetrieverInterface" type="Web200\Seo\Service\HrefLang\ProductUrlRetriever" />
</config>

Should there be more used from the frontend/di.xml file?

Also, are you open to receive and merge pull requests?