I discovered this module from the book Drupal 8 SEO by Ben Finklea. When you launch the module after installing, the first thing it says in the Advanced Operations section is:

This will revalidate all of the following pages. This operation may be long.

The button even says "Re-validate all pages".

Ben's book (bottom page 173) even shows a screen shot where several pages were evaluated and shown to have errors.

However, when I run it, it checks the first page which is Frontpage, says it found "7 errors, 0 warnings" and that the page is "Invalid", and then stops. The remaining 29 pages listed all say "Not yet validated" and "Unknown".

I've run it on both the latest versions of Firefox and IE. Does the module now stop after the first problem page it finds instead of analyzing all of them?

(Note: because of having this problem earlier in the day, I decided to restore the backup copy of my Drupal site before this was installed and tried it again. Same results the second attempt at installing and running.)

Comments

Marrer created an issue. See original summary.

dom.’s picture

Hi !

I have not work on D8 version for a while so I need to take some time to retry and remember the current status of this.
What I am sure though is that this is not an intended feature.

One question: do you use a custom self hosted validator or the official one from W3C ? It is adviced to install your own copy of the validator to run the "everypage" analysis. The official W3C validator blocks your IP for a while (1h first time, then 24h if I am correct) if you send to much validation request. You can check if this is it by running a simple validation from the webpage at https://validator.w3.org/. You will quickly know if you are under temporary ban.

In the meantime, I will find some time to retry the module.

dom.’s picture

Status: Active » Needs review
StatusFileSize
new356 bytes

After a look, indeed, it comes from a bug in the module. Here is a patch.

  • Dom. committed f656b3d on 8.x-1.x
    Issue #2905241 by Dom.: Module stops after first page found with errors
    
dom.’s picture

Priority: Normal » Critical
Status: Needs review » Fixed

Set this to critical: the module can't help you if only frontpage is validated.
Also this is now marked as fixed and a new release 1.3 as been made.

Rounder’s picture

Dom:

That fixed it! Thank you for the very quick response.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.