Empty alert list returned

Created on 10 September 2024, 2 months ago

I just installed the module and created some alerts with no specific display conditions (no planification, no page visibility), but the ajax call to sitewide_alert/load always return an empty list :

{
sitewideAlerts: [ ]
}

Any idea of what could cause this?

🐛 Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

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

Comments & Activities

  • Issue created by @clemorphy
  • Status changed to Fixed 2 months ago
  • Ok I know why.
    The module is filtering alerts on the current language of the Drupal site (FR in my case), but the alert entities were created by default in EN language. I had to modify the default language used for the "Sitewide alert" content type, in my global language settings.

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

Production build 0.71.5 2024