Toggle Month (list) broken - solved

Created on 25 January 2024, 10 months ago
Updated 30 January 2024, 10 months ago

My calendar has worked very well for a long time and now it does not.

EDIT There is a conflict with the Popup message module ( https://www.drupal.org/project/popup_message ) that was causing this behavior. Leaving this here in case someone else might benefit from this.

The calendar is set up so that:
- Display toggles - List (Month)
- Default view - List (Month)
- Default mobile view - List (Month)

Essentially it is a list view that toggles a month at a time forward and backwards.

What happens now is that when a user toggles forward to the next month, it goes to the next month then instantaneously goes back making it impossible to see events for the upcoming month.

This is the case for anonymous and logged in users on all browsers.
Except, it does work properly in the Chrome browser when I am logged in.

I thought that it might have been a caching issue so I:
- Turned off caching on the view - had no effect.
- Turned off core caching and the Advanced CSS/JS Aggregation module - had no effect.

Not sure what is going on.

🐛 Bug report
Status

Closed: works as designed

Version

5.1

Component

Code

Created by

🇨🇦Canada dadderley Vancouver

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

Comments & Activities

  • Issue created by @dadderley
  • 🇦🇺Australia mingsong 🇦🇺

    Does this issue only occur in 5.1.13?
    What changes did you make before this happened?
    Any errors or warnings in the log or browser console?

  • Status changed to Postponed: needs info 10 months ago
  • 🇦🇺Australia mingsong 🇦🇺
  • 🇨🇦Canada dadderley Vancouver

    Hi,

    Thanks, yes it worked in earlier releases.
    The url of the page is https://www.festivalseekers.com/calendar

    I am not seeing anything in the Console that is specific or the Drupal logs.

  • 🇦🇺Australia mingsong 🇦🇺

    Still not enough information for me to know what happened to your website.

    Given that, this version was released last year September and there are 8.5 thousand websites using this version currently. This is the first time I heard this kind of issue.

    I would suggest that have someone with Drupal developer background to have a closer look at and debug this issue for you.

    Particularly looking at any other module or theme that modifiers the template used by the calendar.

  • 🇨🇦Canada dadderley Vancouver

    Fair enough.
    I am not a 'Drupal Developer' per se but I have built and maintain dozens of drupal sites.
    This is what I am seeing.

    This is in a site running core 10.2.2 with PHP 8.1.27
    When I installed Fullcalendar View this was a Drupal 9 site.

    I suspect that issue may be related to the core 10.2.2 (just spitballing here)

    I use Fullcalendar View on another site (still a Drupal 9 site) where it works just fine.
    On this site, Fullcalendar View has been working fine until now, not sure why it is acting up, but it looks js related.

    When I go into the view edit screen and make an adjustment to the Full Calendar Display Settings (Calendar display settings.
    Left side buttons) then hit the apply button this happens. See the attached screenshot ( https://www.drupal.org/files/issues/2024-01-25/dc-left-side-button-apply... ).It does not indicate that the change was made yet it seems to have been applied.

    Here is a really interesting bit.
    When I inspect this code in chrome (not logged in)
    <div class="js-drupal-fullcalendar fc fc-ltr fc-unthemed" data-calendar-view-index="0" data-calendar-view-name="calendar_festivals" data-calendar-display="page_1" style="">

    In the inspect window, I see the code actually strobing on and off. This is a first for me by the way.
    See this screen shot (should be an animated gif)

    This behavior also happens (logged in) in the views edit preview screen in Opera and Safari.
    The admin theme is Claro.
    The site theme is a Bootstrap 4 theme.

    Is this helpful at all?

  • 🇨🇦Canada dadderley Vancouver

    Well, found the problem.
    It seems that there is a conflict with the Popup message module ( https://www.drupal.org/project/popup_message ).

    Sorry for the noise.

  • 🇨🇦Canada dadderley Vancouver
  • 🇨🇦Canada dadderley Vancouver
  • Status changed to Closed: works as designed 10 months ago
  • 🇦🇺Australia mingsong 🇦🇺

    No problem. It is good to know that you are on track to fix it for your site.

    Good luck.

  • 🇨🇦Canada dadderley Vancouver

    Thanks,
    The module seems to be rock solid.

    But this is somewhat disconcerting

    When I go into the view edit screen and make an adjustment to the Full Calendar Display Settings (Calendar display settings.
    Left side buttons) then hit the apply button this happens. See the attached screenshot ( https://www.drupal.org/files/issues/2024-01-25/dc-left-side-button-apply... ).It does not indicate that the change was made yet it seems to have been applied.

    From the #6 post above.

Production build 0.71.5 2024