magneto-debug icon indicating copy to clipboard operation
magneto-debug copied to clipboard

Overwriting `core_email` and `core_email_template` gives conflicts

Open sandermangel opened this issue 8 years ago • 3 comments

A few frequently used email modules like Ashroder_Smtp, mailchimp and dotmailer rewrite the core_email and core_email_template models.

Is there any other way to do the profiling on emails than a rewrite or maybe make it optional?

https://github.com/madalinoprea/magneto-debug/blob/master/code/Debug/etc/config.xml#L27

sandermangel avatar Mar 23 '16 10:03 sandermangel

Hi @sandermangel,

I'm going to think about it. I agree that this extension shouldn't have this side effect.

Currently I'm going to see if we can apply this solution https://github.com/Danack/intahwebz-examples/tree/master/src/Intahwebz/Examples/DynamicInheritance

Or add the rewrites dynamically only if we can handle core/email_template implementation.

madalinoprea avatar Apr 13 '16 10:04 madalinoprea

Great! Thanks for that. Looks like a nice option to fix the issue

sandermangel avatar Apr 15 '16 07:04 sandermangel

@madalinoprea wasn't this fixed in the latest version?

sandermangel avatar Jun 16 '16 09:06 sandermangel