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
- Debug to find which field / reference is added as a handler in code
- Correct this to one of the available handlers or find reason why handler is not referenced correctly
Remaining tasks
- Debug to find which field / reference is added as a handler in code
- 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
Comment | File | Size | Author |
---|---|---|---|
views.view_.content_field_event_date_on_calendar.yml | 15.71 KB | mccrodp |
Comments
Comment #2
tedbowYeah, 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 :(
Comment #3
tedbowOk marking as "works as designed" because the view was made with template before changes.
Comment #4
mccrodp CreditAttribution: mccrodp as a volunteer commentedAhhh ok, thanks. Just to get some clarification on the issue before it's fully closed:
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?
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...
Comment #5
tedbowYes 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
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.
Comment #6
mccrodp CreditAttribution: mccrodp as a volunteer commentedOk, 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...
Comment #7
tedbowOk, 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.
Comment #8
mccrodp CreditAttribution: mccrodp as a volunteer commentedThat'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.
Comment #9
tedbow@mccrodp glad it is working.
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.