Problem/Motivation

I have a date field on an event content type: "field_event_date".

When I create a view from views_templates for "Content Field Event Date on Calendar" I get a Broken/Missing Handler on the Views Contextual filter: "The handler for this item is broken or missing", the following are available:

id: field_event_date_value_calendar
table: node__field_event_date
field: field_event_date_value_calendar
relationship: none
group_type: group
admin_label:
default_action: ignore
title_enable:
title:
default_argument_type: fixed
default_argument_skip_url:
specify_validation:
plugin_id: calendar_datetime

Proposed resolution

  1. Debug to find which field / reference is added as a handler in code
  2. Correct this to one of the available handlers or find reason why handler is not referenced correctly

Remaining tasks

  1. Debug to find which field / reference is added as a handler in code
  2. Correct this to one of the available handlers or find reason why handler is not referenced correctly

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mccrodp created an issue. See original summary.

tedbow’s picture

Yeah, Calendar for 8.x is a moving target right now. "plugin_id: calendar_datetime" is not used anymore.

You will have to make a new View from a template. But no guarantees that it won't break again :(

tedbow’s picture

Status: Active » Closed (works as designed)

Ok marking as "works as designed" because the view was made with template before changes.

mccrodp’s picture

Status: Closed (works as designed) » Active

Ahhh ok, thanks. Just to get some clarification on the issue before it's fully closed:

  1. I created this view using one of the provided view templates: "A calendar view of the 'Event Date' field in the 'Content' base table".
    Are you saying that these view templates should no longer be used? If so, should it be removed from the list @ admin/structure/views/template/list?
  2. Should calendar view be created manually now?

I realise Calendar for D8 is in early stages, but it has a dev release, so I presume I still file issues and include patches if appropriate...

tedbow’s picture

I realise Calendar for D8 is in early stages, but it has a dev release, so I presume I still file issues and include patches if appropriate...

Yes patches would be great but just check 8.x-1.x branch often! If you are interested I am using this github repo just for scratch branches connected to issue numbers: https://github.com/tedbow/d8_calendar

Are you saying that these view templates should no longer be used? If so, should it be removed from the list @ admin/structure/views/template/list?

No they should still be made from templates but since the templates sometimes have to change with other changes a View made with a previous version of the template file might not work. It won't pick up the changes.

You could still repair the View manually but probably easier to start from newer template.

mccrodp’s picture

No they should still be made from templates but since the templates sometimes have to change with other changes a View made with a previous version of the template file might not work. It won't pick up the changes.

Ok, but I downloaded the latest version of both views_templates and calendar to create this view. Presuming the latest changes required for this to work have not been committed yet then...

tedbow’s picture

Ok, I see the problem!!!!!

This is what I guessing happened

The date got messed up on my virtual machine because I was testing different dates for this module :(
That caused by git commits to have bad dates
So drupal.org has not a dev release since the 27th.

If you do a git clone hopefully that will fix it but I am also going to fix this.

mccrodp’s picture

Status: Active » Fixed

That's great, the calendar is showing up now and displaying my event nodes on the month I tested in the month view display. The Next / Previous links aren't quite right at the moment, seem to replace the "month" arg with the %year-%month values, but this original issue is solved for me now. Thanks!

I'll test again when I get a chance and if the issue I noticed above remains I'll fill another issue here / PR on Github.

tedbow’s picture

@mccrodp glad it is working.

I'll test again when I get a chance and if the issue I noticed above remains I'll fill another issue here / PR on Github.

Please work in issues here rather than PR on github. I am not maintainer of calendar and I am just using Github as a backup. There should be patches on the issues that I am working on if not committed.

Status: Fixed » Closed (fixed)

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