Bug 14639: Extend Koha::MetadataRecord to handle serialization format and record id
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Aug 2015 14:41:23 +0000 (11:41 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 7 Sep 2015 15:06:21 +0000 (12:06 -0300)
commit2afaddb592cdf0937dc0f2de3c80d65ee7f83ffb
tree4078406a30ff67a3cc84394c6ff0af0b745c87b5
parent7587e7c752fc33788416e351e15154cf843fe18c
Bug 14639: Extend Koha::MetadataRecord to handle serialization format and record id

The description of this changes is on the regression tests commit
message.

To test:
- Apply the test patch
- Run
  $ prove t/Koha_MetadataRecord.t
=> FAIL: Tests fail because changes are not implemented
- Apply this patch
- Run
  $ prove t/Koha_MetadataRecord.t
=> SUCCESS: tests pass
- Run
  $ prove t/Koha_Util_MARC.t
=> SUCCESS: it still passes
- Sign off :-D

NOTE: Tested as above. Read code. Seems to cover all cases.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/MetadataRecord.pm