Skip to content

Can't copy timer settings when cloning campaign #14

@albanleandri

Description

@albanleandri

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions