Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The canonical link is missing from AMP pages but only on the testbot, not when testing locally. Other tests should probably be added/updated. So this issue will be doing some work on tests.
Comment | File | Size | Author |
---|---|---|---|
#17 | 3171624-17-fix-tests.patch | 53.16 KB | KarenS |
| |||
#15 | 3171624-15-fix-tests.patch | 47.33 KB | KarenS |
#14 | 3171624-14-fix-tests.patch | 47.38 KB | KarenS |
#13 | 3171624-13-fix-tests.patch | 37.3 KB | KarenS |
| |||
#10 | 3171624-10-fix-tests.patch | 35.88 KB | KarenS |
Comments
Comment #2
KarenS CreditAttribution: KarenS at Lullabot commentedFirst pass, add test for AMP image formatter.
Comment #4
KarenS CreditAttribution: KarenS at Lullabot commentedAdded a test for image carousel and reworked tests to be more re-usable. Also hid again the broken canonical link temporarily.
Comment #5
KarenS CreditAttribution: KarenS at Lullabot commentedAdd test for media formatter, and more reworking to make tests re-usable.
Comment #6
KarenS CreditAttribution: KarenS at Lullabot commentedCode cleanup.
Comment #8
KarenS CreditAttribution: KarenS at Lullabot commentedComment #9
KarenS CreditAttribution: KarenS at Lullabot commentedComment #10
KarenS CreditAttribution: KarenS at Lullabot commentedComment #12
KarenS CreditAttribution: KarenS at Lullabot commentedI'm back to the missing canonical link on AMP pages and have figured out that tests work with Metatag 1.13 and fail with Metatag 1.14, so something in that last Metatag release is causing the problem.
Comment #13
KarenS CreditAttribution: KarenS at Lullabot commentedThere were some changes to the processing order in Metatag for head links, and Metatag has set itself up to run after all other modules. The combination creates problems when AMP wants to step in. The solution for tests is to empty out Metatag's canonical link since the core canonical link works fine. I think this will now pass.
Comment #14
KarenS CreditAttribution: KarenS at Lullabot commentedComment #15
KarenS CreditAttribution: KarenS at Lullabot commentedComment #17
KarenS CreditAttribution: KarenS at Lullabot commentedComment #19
KarenS CreditAttribution: KarenS at Lullabot commented