Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBIx-NinjaORM CPAN distribution.

Report information
The Basics
Id: 83513
Status: resolved
Priority: 0/
Queue: DBIx-NinjaORM

People
Owner: Nobody in particular
Requestors: kolibrie [...] graystudios.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.4.0
Fixed in: (no value)



On line 1468, there is a croak that should probably be a carp, so that behavior does not change when in verbose mode: croak "The field '$field' cannot be set and will be ignored" if $self->is_verbose();
On Thu Feb 21 15:55:13 2013, KOLIBRIE wrote: Show quoted text
> On line 1468, there is a croak that should probably be a carp, so that > behavior does not change when in verbose mode: > > croak "The field '$field' cannot be set and will be ignored" > if $self->is_verbose();
Excellent catch, thank you! I fixed it on GitHub (https://github.com/guillaumeaubert/DBIx-NinjaORM/commit/4f3b868b6a907c1226d0ee96884db63f32255ad5). I thought further about it and decided to use a warning passed to Log::Any independently of the verbose mode, since it is a problem in the calling code that the programmer should be notified about even if NinjaORM handles it gracefully. Please let me know if you have any questions, and I will try to do a release shortly with a couple of other bug fixes.