πŸ‡§πŸ‡ͺBelgium @sonneworks

Account created on 10 January 2013, over 11 years ago
#

Recent comments

πŸ‡§πŸ‡ͺBelgium sonneworks

I fixed this in my project.
added the symfony intl component (composer require symfony/intl)
creating a translated country list with Countries::getNames($this->languageManager->getCurrentLanguage()->getId());

This list has upper case keys and the library requires lowercase so: array_change_key_case($countryList, CASE_LOWER)

Since i'm only using this module in a custom form i'm passing the list using drupalSettings

πŸ‡§πŸ‡ͺBelgium sonneworks

@will_frank sorry, was on holiday, didn't have access to codebase :)

πŸ‡§πŸ‡ͺBelgium sonneworks

I have the same issue on D10
In the FloodControlServiceProvider::alter method ... instead of setting a new service definition i'm updating the existing one... which seems to work:

$container->getDefinition('flood_control.flood_unblock_manager')
  ->setClass(FloodUnblockManagerRedis::class)
  ->setArguments( [
        new Reference('redis.factory'),
        new Reference('flood'),
        new Reference('config.factory'),
        new Reference('entity_type.manager'),
        new Reference('messenger'),
      ]);

not sure why

Production build 0.69.0 2024