[Koha-bugs] [Bug 26555] Add a way for Koha::Object(s) to carry execution information

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 12 12:01:38 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26555

--- Comment #23 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Marcel de Rooy from comment #22)
> (In reply to Tomás Cohen Arazi from comment #3)
> > Jonathan pointed that this situation could be confusing:
> > 
> >     $o->bad_call
> >     $o->errors; # error is set
> >     $o->good_call
> >     $o->errors; # error is still set
> 
> What did we do here now? Nothing yet.
> Should we clear the array on calling ->errors ?

Then:
  $o->bad_call
  $o->good_call
  $o->errors; # error is set!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list