emartech / 3rd-party-integrations-magento-M2

Please note: this plugin is deprecated. we have a new version of the plugin- please contact emarsys support for more info
MIT License
0 stars 5 forks source link

Cannot enter /admin/ when module is enabled (Magento 2.2.3 w. DI not compiled) #33

Closed lbajsarowicz closed 6 years ago

lbajsarowicz commented 6 years ago

Expected behaviour

Emarsys module should not cause any side effect whether DI is compiled or not.

Current behaviour

When DI is compiled application works as expected. When DI is not compiled we cannot access the Admin panel

Screenshots

zrzut ekranu z 2018-03-07 00-48-00

Debug

  1. Disabled all modules one - by - one, removed /generated/ dir each time, trying to log in to admin panel
  2. Disabling Emarsys helped - Enabled Emarsys again and disabled DI one - by - one.
  3. Disabling one of DI helped <preference for="\Magento\Framework\Mail\Template\TransportBuilder" type="Emarsys\Emarsys\Model\Template\TransportBuilder"/>
eghanin commented 6 years ago

Thanks, We will look into it!

laurent35240 commented 6 years ago

Hi,

We created this PR #34 that fixes the issue.