Closed (fixed)
Project:
Calendar View
Version:
2.0.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Feb 2023 at 17:44 UTC
Updated:
3 Mar 2023 at 14:49 UTC
Jump to comment: Most recent
Comments
Comment #2
matthieuscarset commentedThank you for reporting this issue.
Can you double check you are using the latest version of this module?
I think you're on an old release with a known bug, already fixed.
composer require 'drupal/calendar_view:^2.0'or using the dev branch:
composer require 'drupal/calendar_view:dev-2.0.x'Comment #3
orcalator commentedHi matthieuscarset,
I already saw your patch for that bug, but i got this on 2.0.2 and now on 2.0.4 version too. I also notice this error:
TypeError: Argument 1 passed to Drupal\\calendar_view\\Plugin\\views\\style\\Calendar::isDateField() must be an instance of Drupal\\calendar_view\\Plugin\\views\\style\\mixed, instance of Drupal\\views\\Plugin\\views\\field\\EntityField given, called in /modules/contrib/calendar_view/src/Plugin/views/style/Calendar.php on line 142
when i click on "Settings" right of "Calendar" in Format section of the view.
Regards,
Nino
Comment #4
ab_connor commentedI can confirm this error. No calendar view possible. Using calendar_view 2.0.4 and Drupal 9.5.3.
Comment #6
matthieuscarset commentedOh okay I see, there are unnecessary
mixedpseudo type set in those functions' arguments.It is fixed in 2.0.5 freshly released.
Thank you very much for reporting the issue.
Comment #7
orcalator commentedThis is now solved, thank you. Now i have another one, so i'll open a new thread :-)