Regression - Events - Registration Confirmation and Receipt (on-line)
When doing an event receipt, we have this fatal error :
Message was not parsed due to invalid smarty syntax : Smarty error: [in evaluated template line 467]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1549)
I was able to track down this piece of template :
{if {event.allow_selfcancelxfer|boolean}}
<tr>
<td colspan="2" {$valueStyle}>
{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}<br/>
{capture assign=selfservice_preposition}{if {event.selfcancelxfer_time} > 0}{ts}before{/ts}{else}{ts}after{/ts}{/if}{/capture}
{ts 1={event.selfcancelxfer_time} 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts}
{if {contribution.paid_amount|boolean}}{ts}Cancellations are not refundable.{/ts}{/if}<br/>
Recursive {
is not working, at least on our instances so those are faulty :
{if {event.allow_selfcancelxfer|boolean}}
{if {event.selfcancelxfer_time} > 0}
{ts 1={event.selfcancelxfer_time} 2=$selfservice_preposition}
Problem introduced in https://github.com/civicrm/civicrm-core/pull/27685