Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When double clicking to add an event on the calendar the path isn't stripped back to the correct value. For example, my calendar is displayed in mysite.com/group/1/calendar. If I click add event I correctly go to
mysite.com/fullcalendar-view-event-add?type=bookings&start_field=field_start_date&end_field=field_end_date&destination=/group/1/calendar
However, if I double click on a date to add an event the link is to
mysite.com/group/1/node/add/bookings?start=2018-06-16&start_field=field_start_date
instead of
mysite.com/node/add/bookings?start=2018-06-16&start_field=field_start_date
Comments
Comment #2
MingsongHi there,
Thanks for the report.
There is a patch to fix this issue.
Please see #2966907
Comment #4
MingsongI believe this issue is fixed with the new release (8.x-2.0-rc8)
Comment #5
MingsongComment #6
rosbiffer CreditAttribution: rosbiffer commentedrc8 works for me. Thank you!
Comment #7
MingsongComment #9
proweb.ua CreditAttribution: proweb.ua commentedFor events I use a comerce product entity.
Double-clicking opens the page:
/product/add/%7Bcommerce_product_type%7D?start=2019-10-23T11:00:00&start_field=field_start_time
But the correct link:
http://site.com/product/add/event?start=2019-10-23T11:00:00&start_field=...
Also field field_start_time is not automatically filled when the correct path is entered
Comment #10
MingsongI am assuming the bundle type of the product is '{commerce_product_type}'.
That is why there is '%7Bcommerce_product_type%7D' in the URL.