Add a BC layer for service argument change

Created on 3 October 2024, 3 months ago

Problem/Motivation

Whenever service arguments are changed, a BC layer is needed to avoid fatal errors like

 ArgumentCountError: Too few arguments to function Drupal\twig_field_value\Twig\Extension\FieldValueExtension::__construct(), 4 passed in /core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 and exactly 5 expected in Drupal\twig_field_value\Twig\Extension\FieldValueExtension->__construct() (line 78 of /modules/contrib/twig_field_value/src/Twig/Extension/FieldValueExtension.php)

See πŸ› 2.0.3 update should containers Fixed for the previous attempts of fixing it.

Steps to reproduce

Update the module

Proposed resolution

Add a BC layer

Remaining tasks

Review a PR

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Taran2L Lviv

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