ThirdSetMauticTimingBundle icon indicating copy to clipboard operation
ThirdSetMauticTimingBundle copied to clipboard

Can't copy timer settings when cloning campaign

Open albanleandri opened this issue 7 years ago • 2 comments

The timing information saved as in "Send email" action failed to be copyied when a campaign is cloned. As result, it all must be set again.

  1. How to replicate
  2. Create a new campaign
  3. Plug an email "Send email" action and set something in ThirdSetMauticTimingBundle (working days + contact timezone YES)
  4. Save this campaign
  5. Clone this campaign

Actual result : The information saved as ThirdSetMauticTimingBundle failed to be cloned

Mautic version 2.12.2 PHP version 5.6.32

Error log :

14/15 [==========================>-]  93%PHP Fatal error:  __clone method called on non-object in /var/www/web-mautic/plugins/ThirdSetMauticTimingBundle/Helper/TimingHelper.php on line 140


  [Symfony\Component\Debug\Exception\FatalErrorException]
  Error: __clone method called on non-object


Exception trace:
 () at /var/www/web-mautic/plugins/ThirdSetMauticTimingBundle/Helper/TimingHelper.php:140

albanleandri avatar Aug 07 '18 03:08 albanleandri

Hi @collinkrawll @sagistrauss I receive this error in Mautic 2.12.2

albanleandri avatar Aug 09 '18 09:08 albanleandri

Hi @AlbanL74fr, sorry for the issue and thanks for posting the details.

I'm currently backed up with other work. Hopefully I (or someone else) can get to this soon. I'm going to mark it with "help wanted".

collinkrawll avatar Aug 09 '18 15:08 collinkrawll