Add event link is broken in template

Created on 19 July 2021, almost 3 years ago
Updated 18 December 2023, 6 months ago

Problem/Motivation

Add event link returns 404 error in console:

An AJAX HTTP error occurred.
HTTP Result Code: 404
Debugging information follows.
Path: fullcalendar-view-event-add?entity=node&bundle=event&start_field=field_event_dates&end_field=field_event_dates&destination=/manage/events
StatusText: Not Found
ResponseText: The website encountered an unexpected error. Please try again later.Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "POST /manage/fullcalendar-view-event-add" ....

Template add event url needs to be fixed to match Add event route.

Steps to reproduce

Create new Fullcalendar view page.
Check "Create a new event via the Off-Canvas dialog." under view Settings => Display.
Go to the view page and check Add event link under the calendar.

Proposed resolution

Added patch with template fix.

πŸ› Bug report
Status

Postponed: needs info

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine vselivanov Kyiv, Ukraine

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024