[Koha-bugs] [Bug 14639] Extend Koha::MetadataRecord to handle serialization format

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 3 15:19:37 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14639

--- Comment #15 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 42316
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42316&action=edit
Bug 14639: (QA followup) make schema mandatory

This patch makes the 'schema' param mandatory. It is passed in every
call on the current codebase, so it makes no harm now, but makes
the code less error-prone.

Tests for this situation are added to t/Koha_MetadataRecord.t (schema
param is omitted and new() returns undef and a carped warning).

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list