Drupal 8 is not compatible with v4.0.2

Created on 23 January 2024, 8 months ago

Hello,

I could update the module with Composer on Drupal 8.9.6.
Then I'm required to update the database with update.php :

date_range_formatter module
β€’ 8703 - Remove single and single_all_day settings from view and entity_view_display configurations.

So I get this error:

Error : Call to undefined method Drupal\Core\Config\ConfigManager::findConfigEntityDependenciesAsEntities() dans date_range_formatter_update_8703() (/var/www/vhosts/httpdocs/thewebsite/modules/contrib/date_range_formatter/date_range_formatter.install ligne 15)
#0 /var/www/vhosts/httpdocs/thewebsite/core/includes/update.inc(246): date_range_formatter_update_8703()
#1 /var/www/vhosts/httpdocs/thewebsite/core/includes/batch.inc(295): update_do_one()
#2 /var/www/vhosts/httpdocs/thewebsite/core/includes/batch.inc(137): _batch_process()
#3 /var/www/vhosts/httpdocs/thewebsite/core/includes/batch.inc(93): _batch_do()
#4 /var/www/vhosts/httpdocs/thewebsite/core/modules/system/src/Controller/DbUpdateController.php(185): _batch_page()
#5 [internal function]: Drupal\system\Controller\DbUpdateController->handle()
#6 /var/www/vhosts/httpdocs/thewebsite/core/lib/Drupal/Core/Update/UpdateKernel.php(115): call_user_func_array()
#7 /var/www/vhosts/httpdocs/thewebsite/core/lib/Drupal/Core/Update/UpdateKernel.php(76): Drupal\Core\Update\UpdateKernel->handleRaw()
#8 /var/www/vhosts/httpdocs/thewebsite/update.php(28): Drupal\Core\Update\UpdateKernel->handle()
#9 {main}

That makes other required databases updates impossible after updating modules.

How to fix?

Problem/Motivation

Since the function findConfigEntityDependenciesAsEntities has been renamed in D9.3, we can't maintain the ^8 requirement in this version of the module.

Proposed resolution

πŸ› Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

πŸ‡«πŸ‡·France webmestre

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024