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

rosbiffer created an issue. See original summary.

Mingsong’s picture

Hi there,

Thanks for the report.

There is a patch to fix this issue.

Please see #2966907

  • Mingsong committed ed50917 on 8.x-2.x
    Issue #2977004: Double click does not correct path
    
Mingsong’s picture

I believe this issue is fixed with the new release (8.x-2.0-rc8)

Mingsong’s picture

Status: Active » Needs review
rosbiffer’s picture

rc8 works for me. Thank you!

Mingsong’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

proweb.ua’s picture

For 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

Mingsong’s picture

I am assuming the bundle type of the product is '{commerce_product_type}'.

That is why there is '%7Bcommerce_product_type%7D' in the URL.