- Issue created by @junkuncz
- Issue was unassigned.
- Status changed to Needs review
11 months ago 12:55pm 15 December 2023 - last update
11 months ago 6 fail The last submitted patch, 2: lupus_ce_renderer-upgrade_metatag-3409045-2.patch, failed testing. View results →
- Status changed to Needs work
11 months ago 1:30pm 15 December 2023 - last update
11 months ago 9 pass - Status changed to Needs review
11 months ago 1:37pm 15 December 2023 - last update
11 months ago 9 pass - 🇭🇺Hungary junkuncz
Patch has been updated. Give the chance to composer to select which version is preferred
metatag_generate_entity_all_tags()
was introduced in 1.23 so that should be the minimum compatibility now. - Status changed to Needs work
11 months ago 4:43pm 22 December 2023 - 🇸🇮Slovenia useernamee Ljubljana
@junkuncz thank you for you PR.
I've quickly checked changed files and I've noticed that in the CustomElementsMetatagsGenerator there is MetatagManager service injected but never used. Either this should go out we use it instead of the deprecated
metatag_generate_entity_metatags
function. - 🇸🇮Slovenia useernamee Ljubljana
I've quickly checked: https://git.drupalcode.org/project/metatag/-/blob/2.0.x/metatag.module?r...
metatag_generate_entity_all_tags
should be used because it also provides the alter hook and the manager does not.Plz just drop the metatagManager service since it is not used in the class.
- Status changed to Needs review
11 months ago 9:16am 23 December 2023 - last update
11 months ago 9 pass - 🇭🇺Hungary junkuncz
@useernamee thank you for the review and your remarks.
I've added a new patch including your request and I also cleaned up the module running
phpcs
(except README.md) - 🇦🇹Austria fago Vienna
This looks all good. Which version is used on CI now?
If we need to change our test-dependencies to make it use metatag v2 as well, I think we should do it. Please take a look. Else this seems ready to go! - Status changed to Needs review
11 months ago 2:44pm 31 December 2023 - 🇦🇹Austria fago Vienna
improving issue title to reflect both are going to work. Is this correct? (if not we must change composer deps)
- 🇭🇺Hungary junkuncz
@fago thank you for your feedback.
As I see CI is using the upgraded version: https://dispatcher.drupalci.org/job/drupal8_contrib_patches/180057/console
"Installing drupal/metatag (2.0.0): Extracting archive"
Yes, you are correct both are going to work.
- last update
10 months ago 9 pass - 🇳🇱Netherlands roderik Amsterdam,NL / Budapest,HU
( I did a check that the MR == the patch that "looks all good" per #12. )
- Status changed to RTBC
10 months ago 12:14pm 11 January 2024 -
fago →
committed d829fad8 on 2.x authored by
junkuncz →
Issue #3409045 by junkuncz, useernamee, roderik: Add support for metatag...
-
fago →
committed d829fad8 on 2.x authored by
junkuncz →
- Status changed to Fixed
10 months ago 12:58pm 19 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.