Problem/Motivation

If you are using less than Drupal 9.4 and Captcha 8.x-1.3 or greater, there is an error on the captcha examples page.

Steps to reproduce

Having less than Drupal 9.4 and Captcha greater than 1.3, then visit the captcha examples page and you will see the following:
Error captcha examples

Proposed resolution

This comes as a result of the change to using invokeAllWith in moduleHandler that is not part of < 9.4, so it defaults to the "old way" and there is an error in that line of code. The patch is supplied. Once patch is applied, everything works as expected.

Comments

ebremner created an issue. See original summary.

ebremner’s picture

Issue summary: View changes
ebremner’s picture

StatusFileSize
new619 bytes

Here is the patch to fix the issue.

japerry’s picture

Priority: Major » Critical

Ugghhhh. Thanks for finding it. I guess we should write a test to ensure this works in the future.

ebremner’s picture

Title: Error when using Drupal 9.4.0 or greater and 8.x-1.3 or greater » Error when using Less than Drupal 9.4.0 and 8.x-1.3 or greater
Issue summary: View changes
lily.yan’s picture

Confirming that patch #3 worked for me in Drupal 9.3.19.

  • japerry committed aceebee on 8.x-1.x
    Issue #3300030 by ebremner: Error when using Less than Drupal 9.4.0 and...
japerry’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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