Skip Menu |
 

This queue is for tickets about the Oogly CPAN distribution.

Report information
The Basics
Id: 64806
Status: open
Priority: 0/
Queue: Oogly

People
Owner: Nobody in particular
Requestors: zizakov [...] sbb.rs
Cc:
AdminCc:

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



Download (untitled) / with headers
text/plain 508b
When using custom error message, line in: validation => sub { my ($self, $field, $all_parameters) = @_; $self->error($field, 'Custom message') if (zTask::is_duplicate_task_name($field->{value})); }, custom message is never used, because in Oogly, line 172, with lines # temporary, may break stuff $error_msg = $self->{fields}->{$field->{name}}->{error}; custom message is always replaced with default message.
Subject: Oogly.pm
Download Oogly.pm
text/x-perl 27.1k

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 686b
Development has been shifted to Validation::Class, please follow there. I will move this bug over. On Sat Jan 15 15:30:44 2011, zika01 wrote: Show quoted text
> When using custom error message, line in: > > > validation => sub { > my ($self, $field, $all_parameters) = @_; > $self->error($field, 'Custom message') if > (zTask::is_duplicate_task_name($field->{value})); > > }, > > custom message is never used, because in Oogly, line 172, with lines > > # temporary, may break stuff > $error_msg = $self->{fields}->{$field->{name}}->{error}; > > custom message is always replaced with default message.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.