Exceção de trabalho: Holidays::InvalidRegion

I’ve moved this topic to Bug, so there’s no need to make another report.

Since we haven’t actually removed any major regions here, I suspect the issue is related to state- or territory-level region definitions similar to what you see below for the US:

The change most likely happened between these two commits

That depends on your comfort level with poking around the internals. You’ll need to:

  1. Identify users who have a Calendar Region preference set.
  2. Check which of those values are not in the current list of valid regions:
    REGIONS.rb
  3. Update those users’ region preferences to a valid top-level region. For example, a preference setting like United States (us_id) should become United States

It does if your site uses holiday calendar events. For affected users, no holiday events will be generated until their Calendar Region is fixed.

1 curtida