Closed (fixed)
Project:
Calendar
Version:
8.x-1.0-alpha2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
22 May 2016 at 01:22 UTC
Updated:
31 Mar 2020 at 09:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Anonymous (not verified) commentedThe warning is caused by the rows variable that is not initialised if no date fields or events are found. It can be prevented by properly initialising it (see patch), however, this off course still won't show the events you are expecting.
Could you provide more information on how you created the custom entity and view, so I can try reproducing the issue?
Comment #3
sonoutlaw commentedI'm having this same issue. I used ECK and I have a bundle with a date field. I can create a calendar view from template with the date field, but no entities display on the calendar. I can switch the format to Unformatted list and see the entities.
I added a date field to the Page content type, created a view from template and everything works. So maybe it's an issue with ECK?
Comment #4
yepaHaving the same issue with commerce product entities \)
Comment #5
yepaComment #6
yepaSolved ;)
Comment #7
yepaComment #8
howards commentedI happened to be developing using a taxonomy set to be calendarizing items; items didn't appear before this patch. This patch appears to use the entity system more appropriately than specifically touching the node entity. This patch fixed the issue with the taxonomy entity hosting date/datetime fields for calendar items (datetime_range, honestly) and I assume it works for custom entities since that was the OP's issue.
This patch has now been incorporated into a build stream. Thank you, yepa!
Comment #9
yepaHappy to help ;)
Comment #10
yepaComment #11
yepaComment #12
mortona2k commentedWorks for me! Showing a product variation w/ date field on the calendar.
Comment #13
solide-echt commented