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.