- Issue created by @tushar1
- Status changed to Needs review
9 months ago 1:49pm 25 February 2024 - last update
9 months ago 31 pass, 2 fail - 🇦🇹Austria jordik
After some investigation I found the source of error (at least in my case).
When setting up Captcha to appear on a form in Captcha points, the challenge type was set to "Default".
Although the default type was set to "Image" in the global Captcha settings, this was never checked.
Since the function imageCaptchaAfterBuildProcess explicitly checks for "image_captcha/Image" by getting "default" it skips the rendering of the Reload button.A quick and dirty solution can be to set the challenge type to "Image" manually.
A more elegant and robust way is in the patch attached - enabling the check of the global default. The last submitted patch, 4: Reload_captcha_link_not_visibile_in_D10-3421591-4.patch, failed testing. View results →
- 🇦🇹Austria jordik
The test did not fail because of the patch - it is apparently a test problem.
Patches 📌 Post Drupal 10 Image captcha issue Needs work and 📌 Add gitlab CI Needs work fail after being green with the same error.