Closed (fixed)
Project:
Metatag
Version:
2.2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2026 at 08:56 UTC
Updated:
12 Nov 2026 at 01:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
jonasanne commentedCreated MR #303.
Can someone review and make a release for this please?
Comment #4
jonasanne commentedComment #5
jonasanne commentedComment #6
rahulk commentedAttached is a patch that replaces the hard-coded service names in the deprecation messages in
metatag_page_manager.services.ymlwith the required%service_id%placeholder.Symfony requires the deprecation template to contain
%service_id%. Using%Drupal\metatag_page_manager\Hook\FormHooks%and%Drupal\metatag_page_manager\Hook\MetatagHooks%causes the "The deprecation template must contain the "%service_id%" placeholder." error duringdrush updbafter upgrading to 2.2.3.Steps to test:
drush updbordrush crand confirm the error appears.drush cranddrush updbagain and confirm the error is gone.Comment #7
liam morlandComment #8
liam morlandThe patch works for me and appears to be the correct change.
Comment #9
damienmckennaSorry about that, it seems that I misread some core docs.
Comment #11
damienmckennaCommitted. Thank you.