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)



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

Message body is not shown because it is too large.

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.