Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-FormHandler CPAN distribution.

Report information
The Basics
Id: 73849
Status: resolved
Priority: 0/
Queue: HTML-FormHandler

People
Owner: Nobody in particular
Requestors: LUKAST [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.35005
Fixed in: (no value)



Subject: HFH::TraitFor::Captcha not functional wich current Catalyst versions
HFH::TraitFor::Captcha and HFH::Field::Captcha do not work with current versions of Catalyst. The reason seems to be that get_captcha and set_captcha use $form->ctx->{session} directly, instead of using the accessor $from->ctx->session. I am not sure if this works with older versions of Catalyst, but it is definitely broken when using Catalyst 5.90007 I have attached a simple test. The patch makes get_captcha and set_captcha using the session-accessor IF $form->ctx has one. (if it is a catalyst context). Otherwise, the old behaviour will not change. The module should still work with non-catalyst applications.
Subject: hfh-captcha.tar.bz2
Download hfh-captcha.tar.bz2
application/x-bzip 2.7k

Message body not shown because it is not plain text.

Lukas: As you already know :-), this patch was applied in 0.36001. More updates to come... Gerda