Because the world list CAPTCHA choices change on every form instance, Drupal thinks that the submitted response is an illegal choice (most of the times). In the Drupal 5 version this could be worked around with #DANGEROUS_SKIP_TEST, but this 'feature' has been removed in Drupal 6: http://drupal.org/node/114774#choice_check .
An alternative is needed.

CommentFileSizeAuthor
#6 captcha_pack-221420.patch2.31 KBjweowu

Comments

soxofaan’s picture

same problem for phrase CAPTCHA module

soxofaan’s picture

the hack with $_POST['random_captcha_type'] in random_captcha_type probably should be replaced with a related fix

soxofaan’s picture

Dr Jay’s picture

subscribed

Aar0n’s picture

subscribed

jweowu’s picture

Status: Active » Needs review
StatusFileSize
new2.31 KB

I've fixed this with an #after_build handler which ensures that the submitted value is always present in the options array at validation time.

thomasmurphy’s picture

I was having this exact problem with the word_list_captcha and the maths captcha, which was odd as it was working without error on another site. I shecked the enabled modules, and the only difference was that I had Botcha and Image captcha enabled on the site that didn't work. I've now only have

ASCII art,
math,
phrase,
word list

enabled on both sites and they are both now working without the error.

csc4’s picture

Issue summary: View changes

Thanks for patch at #6: "projects" > "features" > "list" returns an (almost) empty page seems to solve problem for me

jweowu’s picture

I think user csc4 inadvertently used the syntax for issue #6 in that last comment, and is actually referring to my patch in comment #6 above.

csc4’s picture

You're right - sorry! - one of those days!!!

I did indeed use your patch and it seems to have worked brilliantly.

astonvictor’s picture

Status: Needs review » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks