- Merge request !9Issue #2493183 by rang501, fearlsgroove, bceyssens, hass, alemadlei, nigelcunningham: Ajax support / Use behaviors โ (Closed) created by Nigel Cunningham
- ๐ฉ๐ชGermany markdc Hamburg
- ๐ฉ๐ชGermany Anybody Porta Westfalica
๐ฌ Any active maintainer left here? vs. frequently used module Fixed
Nothing more to say? Any candidates? - ๐ฎ๐ณIndia RohitRawat676
#273 Patch can't be able to apply.
kindly,rework on this - ๐บ๐ธUnited States BBC Madison, WI
Patch #273 looks good to me as well. Thanks @slasher13!
- ๐น๐ทTurkey kburakozdemir ฤฐstanbul
Patch #273 applied successfully for me. Thanks.
- ๐ป๐ณVietnam altAscendare
Thanks @slasher13, patch #273 works fine for me
- ๐บ๐ฆUkraine marchuk.vitaliy Rivne, UA
Patch #273 was applied successfully and it works fine for me. Thanks.
- ๐ต๐ชPeru alyaj2a
Patch #273 ๐ Ajax support / Use behaviors Needs work worked perfectly, with this patch recaptcha in modals was solved. Thanks.
- last update
9 months ago run-tests.sh fatal error - ๐ฎ๐ณIndia nileema19
Patch #273 was applied successfully and it is been working fine for the webform in the modal!
Thanks @slasher13
- Status changed to RTBC
8 months ago 10:10pm 5 November 2023 - ๐ฆ๐บAustralia Nigel Cunningham Geelong
Patch looks good to me and has been successfully tested by all the above; marking RTBC.
- ๐ธ๐ฆSaudi Arabia ahmedx
Patch #273 was applied successfully and it works fine in drupal ajax modal.
Thanks @slasher13 - Status changed to Needs review
7 months ago 6:58pm 7 December 2023 - last update
7 months ago 4 pass - last update
7 months ago 3 pass, 1 fail - last update
7 months ago 4 fail - ๐ฎ๐ณIndia S_Bhandari
Hi,
Fix for the issue of Unable to install modules: module 'recaptcha_test' is incompatible with this version of Drupal core. Please review.
Thanks.
- last update
7 months ago 4 pass The last submitted patch, 288: recaptcha-ajax-support-2493183-288.patch, failed testing. View results โ
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- last update
7 months ago 4 fail - Status changed to Needs work
7 months ago 6:27am 8 December 2023 - ๐ฎ๐ณIndia S_Bhandari
Hi,
Fix for the error The 'core_version_requirement' constraint (^8.9 || ^9 || ^10) requires the 'core' key not be set in modules/contrib/recaptcha/tests/modules/recaptcha_test/recaptcha_test.info.yml. Please review.
Thanks.
- last update
7 months ago Patch Failed to Apply - last update
7 months ago Patch Failed to Apply - Status changed to RTBC
7 months ago 3:19pm 8 December 2023 - ๐ฉ๐ชGermany Anybody Porta Westfalica
- Open on Drupal.org โCore: 10.1.x + Environment: PHP 8.2 & MySQL 8last update
7 months ago Not currently mergeable. - Open on Drupal.org โCore: 10.1.x + Environment: PHP 8.2 & MySQL 8last update
7 months ago Not currently mergeable. - Open on Drupal.org โCore: 10.1.x + Environment: PHP 8.2 & MySQL 8last update
7 months ago Not currently mergeable. - last update
7 months ago run-tests.sh fatal error - Status changed to Needs review
7 months ago 7:31pm 12 December 2023 - last update
7 months ago run-tests.sh fatal error - last update
7 months ago Composer require failure - last update
7 months ago run-tests.sh fatal error - last update
7 months ago 4 pass, 1 fail - last update
7 months ago 4 pass, 1 fail - last update
7 months ago 5 pass - Status changed to Needs work
7 months ago 11:22am 13 December 2023 - ๐ฉ๐ชGermany Anybody Porta Westfalica
eslint and phpcs are unhappy, but tests are green now. Could someone fix that finally?
https://git.drupalcode.org/project/recaptcha/-/pipelines/63104Manual testing is still welcome!
- last update
7 months ago 5 pass - First commit to issue fork.
- last update
6 months ago 5 pass - last update
6 months ago Patch Failed to Apply - First commit to issue fork.
- last update
6 months ago 5 pass - First commit to issue fork.
- last update
6 months ago 5 pass - ๐ฏ๐ตJapan matthewmessmer
#273 fixed the initial issue of the captcha being unusable on a multistep form, but the captcha module persistence settings do not appear to be honored. The recaptcha appears on every step of the multistep form regardless of the persistence settings.
- ๐ฉ๐ชGermany Anybody Porta Westfalica
@matthewmessmer thank you! Can you elaborate, if it worked as expected without the patch? Then we should add a test for that and fix it. Would be super nice to have more community contribution here to get this finished!
- ๐บ๐ธUnited States rraney
I found this issue because I was experiencing an issue on a multipage form with AJAX enabled for validation. I installed the patch #273 and now it's working, but not ideally.
To resolve the issue with the form not recognizing multipage and putting captcha on every page, I moved the captcha inside the last page, where the submit resides. It's interesting that the "I'm not a robot" is showing but not the reCAPTCHA logo on the bottom of the page. All of my other forms do not require human interaction.
Therefore, I don't know if #273 totally solves it because it appears a backup form is placed on the page, and the reCAPTCHA button is not showing on the bottom right of the page. I prefer the checkbox to a math quiz, so I'm keeping this in place, but it's my understanding there shouldn't be a form input at all.
Adding to the discussion, it appears that the persistence settings were previously overlooked #3363653 ๐ reCAPTCHA ignores โOmit challenges in a multi-step/preview workflowโฆ" setting Needs work and not related to the patch.
- ๐ฎ๐ณIndia zuhair_ak Dubai
#273 worked for me also, Thanks @slasher13. Is there anyway we can commit this and fix the issue with multiform AJAX as a followup ticket
- Status changed to RTBC
3 months ago 10:28am 27 March 2024 - ๐ฌ๐งUnited Kingdom nathankg
I have tested patch #273 Thanks @slasher13
Environment tested on:
Drupal 10.1.6
Php 8.1.21Version: Recaptcha 8.x-3.2
Issue prior to patch:
We were using a basic webform with all fields required, with ajax enabled (not multi-step) in a block to collect anonymous user feedback. With persistence set to: "Omit challenges in a multi-step/preview workflow once the user successfully responds to a challenge." and captcha added directly to the webform rather than as a captcha point within the block (however adding the captcha point within the block had the same result). If the anonymous user failed to enter one of the required fields or pass the captcha, the captcha would not display post initial submission. Disabling ajax resolved the issue but was not an option in this use case.After applying the patch:
The captcha was shown as expected post failed webform submission within the webform block. - last update
about 2 months ago Patch Failed to Apply - ๐จ๐ฆCanada ryanrobinson_wlu
One issue I've now encountered with the patch in #273 is that it adds a new functional test, but the setUp function there does not have the void return declaration, which results in throwing an error if I try to run any functional tests. See https://www.drupal.org/project/recaptcha/issues/3446000 ๐ Functional Tests: Declaration of Declaration of Drupal\Tests\recaptcha\Functional\RecaptchaJavascriptTest::setUp() Closed: duplicate . I added that to an updated patch here.
My editor (VS Code with a Drupal formatter) is pointing out other issues with that file, but those ones don't stop me from running other tests, so I'll leave that to those who are working on that test.
- ๐จ๐ดColombia sebasgd
I have the #273 patch installed in a multilanguage website. The webform loaded using ajax works correctly in all languages. But a new webform was created in the website and that form doesn't load with ajax. The result is that the recaptcha loads in english but not in other languages. And is something in this patch because, if I remove the patch, the recaptcha in the non-ajax webform works correctly in all languages and the recaptcha in the webform loaded using ajax stops working.