Schedule campaign event - translation bug in timeline

Hello,



i created a campaign and start some testing in Mautic 2.2.1 release.



when an event is schedule and i try to view the contact page i got an error 500 :

Code:
/home/html/vendor/symfony/translation/Translator.php (line #209): at SymfonyComponentDebugErrorHandler -> handleError ( '8', 'Array to string conversion', '/home/html/vendor/symfony/translation/Translator.php', '209', array('id' => 'mautic.core.timeline.event.scheduled.time', 'parameters' => array('%date%' => 'November 29, 2016 1:28 pm', '%event%' => array('label' => 'Adjust contact points / test', 'href' => '/index_dev.php/s/campaigns/view/1')), 'domain' => 'messages', 'locale' => null) )

As you can see in the template "htmlappbundlesCampaignBundleViewsSubscribedEventsTimelineindex.html.php" has a translation with an %event% parameter, but this one is an array of label and link..
Code:
<?php if ($item['isScheduled']): ?>

<?php echo $view['translator']->trans('mautic.core.timeline.event.scheduled.time', ['%date%' => $view['date']->toFullConcat($item['triggerDate']), '%event%' => $event['eventLabel']]); ?>

<?php endif; ?>

Anyone have this issue ?

Hello,

i created a campaign and start some testing in Mautic 2.2.1 release.

when an event is schedule and i try to view the contact page i got an error 500 :

/home/html/vendor/symfony/translation/Translator.php (line #209): at SymfonyComponentDebugErrorHandler -> handleError ( '8', 'Array to string conversion', '/home/html/vendor/symfony/translation/Translator.php', '209', array('id' => 'mautic.core.timeline.event.scheduled.time', 'parameters' => array('%date%' => 'November 29, 2016 1:28 pm', '%event%' => array('label' => 'Adjust contact points / test', 'href' => '/index_dev.php/s/campaigns/view/1')), 'domain' => 'messages', 'locale' => null) )

As you can see in the template “htmlappbundlesCampaignBundleViewsSubscribedEventsTimelineindex.html.php” has a translation with an %event% parameter, but this one is an array of label and link…

[code]<?php if ($item['isScheduled']): ?>

<?php echo $view['translator']->trans('mautic.core.timeline.event.scheduled.time', ['%date%' => $view['date']->toFullConcat($item['triggerDate']), '%event%' => $event['eventLabel']]); ?>

<?php endif; ?>[/code]

Anyone have this issue ?