[Koha-bugs] [Bug 24213] Koha::Object->get_from_storage should return undef if the object has been deleted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 31 11:08:35 CET 2020


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

--- Comment #11 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Marcel de Rooy from comment #8)
> (In reply to Marcel de Rooy from comment #7)
> >     # Subtest: Bad value tests
> >         1..3
> >         # No tests run!
> >     not ok 16 - No tests run for subtest "Bad value tests"
> >     #   Failed test 'No tests run for subtest "Bad value tests"'
> >     #   at t/db_dependent/Koha/Object.t line 685.
> >     # Looks like you failed 1 test of 16.
> > not ok 16 - store() tests
> > #   Failed test 'store() tests'
> > #   at t/db_dependent/Koha/Object.t line 688.
> > 
> > Stumbling across this fail, but also without your patch.
> 
> Can be ignored. Resolved with strict_sql_mode. Maybe an idea to put this key
> in the default koha-conf.xml (commented or zero)?

I do not understand what you meant.

The test passes for me, with strict_sql_mode set.
When run with prove, the strict mode is enabled automatically.
Also the flag is set for devs (so from koha-testing-docker), that's is
expected, we want devs to catch such problems.

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


More information about the Koha-bugs mailing list