Other Bookable Calendar date token not working in User Email Notification

Created on 11 March 2023, over 1 year ago
Updated 24 March 2023, over 1 year ago

I'm not sure if this is a bug or a feature request, but if you attempt to use Bookable Calendar date token in the User or Admin email notification body, it errors out.

A new volunteer registration was created:
[booking_contact:instance_title]
[booking_contact:date]
[booking_contact:party_size]

Error: Call to undefined method Drupal\bookable_calendar\Entity\BookingContact::getReservationDate() in bookable_calendar_tokens() (line 422 of /home/mysite/public_html/modules/contrib/bookable_calendar/bookable_calendar.module)

The other tokens seem to work though.

Thanks,

-=Delty

πŸ› Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Delty

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024