Just seen my validator complaing and this is a captcha summary. If this is a corer issue, please move.

<details class="captcha js-form-wrapper form-wrapper" open="open"><summary role="button" aria-expanded="true" aria-expanded="true">CAPTCHA</summary><div class="details-wrapper">

Comments

hass created an issue. See original summary.

hass’s picture

Project: CAPTCHA » Drupal core
Version: 8.x-1.x-dev » 8.0.x-dev
Component: Code » forms system
joyceg’s picture

Assigned: Unassigned » joyceg

I have taken up this issue.

joyceg’s picture

In which file did you find this issue?

hass’s picture

I used recaptcha with captcha and assigned recaptcha to user password reset form.

joyceg’s picture

No such file is seen.Do you have any idea about the file location from which you have quoted the code in the issue?

joyceg’s picture

No such file is seen.Do you have any idea about the file location from which you have quoted the code in the issue?

hass’s picture

Have you tried the instruction from #5?

sidharthap’s picture

Status: Active » Needs review
StatusFileSize
new843 bytes

+1 to @hass. I replicate the issue on my recent D8 clone using #5.
I used recaptcha-8.x-2.x-dev and captcha-8.x-1.x-dev module.
This issue is related to Drupal core file resides at core/includes/form.inc. Here is the initial patch to fix it but I am not sure if form.inc is the right place to change the code.

nidhi.badani’s picture

Assigned: joyceg » nidhi.badani
nidhi.badani’s picture

StatusFileSize
new119.68 KB
new119.35 KB

@sidharthap: Looks good.
I did a manual testing by applying the above patch and works fine.
Attached are the screenshots taken before and after applying the patch.

vanilla-bear’s picture

Hi,

We try to reproduce issue with Drupal 8.0.x and recaptcha-8.x-2.x-dev and captcha-8.x-1.x-dev module.

But we can't reproduce issue.

duaelfr’s picture

Assigned: nidhi.badani » Unassigned
Issue tags: +Needs steps to reproduce, +Needs issue summary update

Thank you @sidharthap and @nidhi.badani for your work on this.
I think that issue should be reproduced in Core. If you cannot find any place where that occurs, you should write a small test that shows the problem.

duaelfr’s picture

Status: Needs review » Closed (cannot reproduce)
hass’s picture

Status: Closed (cannot reproduce) » Active

Never close bugs.

duaelfr’s picture