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

--- Comment #4 from Bernard <[email protected]> ---
Didn't work I'm afraid :(

Trying "move" with option "1st" (instead of all fields) as in your prove test:


020                     _a 9781032023175
_q (ebk)
020                     _a 9781032023175
020                     _a 9781032023175
_q (electronic bk. : EPUB)
020                     _a 9781032023175
_q (electronic bk. : EPUB)
020                     _a 9781032023175
_q (electronic bk. : PDF)
020                     _a 9781032023175
_q (electronic bk. : PDF)
020                     _q (hbk.)
_z 9781032023175
_a 9781032023175
020                     _q (pbk.)
_z 9780367760380
_a 9781032023175

This is what I get regardless of whether the patch is installed. It seems to
copy the first 020$z to all 020 fields and not delete the former either (which
you'd expect at least for a move).

Weirdly the prove tests seem to work:


# Subtest: Bug 32950: Moving subfield preserves values in repeatable fields
    1..14
    ok 1 - Should still have 5 020 fields
    ok 2 - First field $a value preserved
    ok 3 - First field $q value preserved
    ok 4 - Second field $a value preserved
    ok 5 - Third field $a value preserved
    ok 6 - Third field $q value preserved
    ok 7 - Fourth field $z moved to $a
    ok 8 - Fourth field $q value preserved
    ok 9 - Fifth field $z moved to $a
    ok 10 - No $z subfields should remain
    ok 11 - No $z subfields should remain
    ok 12 - No $z subfields should remain
    ok 13 - No $z subfields should remain
    ok 14 - No $z subfields should remain
ok 130 - Bug 32950: Moving subfield preserves values in repeatable fields

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to