[Koha-bugs] [Bug 21800] TransformKohaToMarc should respect non-repeatability of item subfields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 24 14:38:22 CET 2020


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

Ere Maijala <ere.maijala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #99309|0                           |1
        is obsolete|                            |

--- Comment #19 from Ere Maijala <ere.maijala at helsinki.fi> ---
Created attachment 99517
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99517&action=edit
Bug 21800: Add tests for repeatable subfields

Test plan:
Do not apply the second patch [note 1].
Run t/db_dependent/Biblio/TransformKohaToMarc.t
Run t/db_dependent/Biblio/TransformMarcToKoha.t
Apply the second patch and run them again. Both tests should pass now.

Note 1: The TransformKohaToMarc test should fail with something like:
    #   Failed test 'Check 260e'
    #   at t/db_dependent/Biblio/TransformKohaToMarc.t line 60.
    #          got: 'A'
    #     expected: 'A | B'

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>

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


More information about the Koha-bugs mailing list