[Koha-bugs] [Bug 22245] MARC modification templates does not allow move or copy control fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 26 17:54:30 CET 2019


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |Needs Signoff

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Fridolin SOMERS from comment #3)
> 1)
> With this patch, if I set "from" with control field (ie 003) and "to" with a
> regular field (ie 998$e) :
> 
> I get message :
> MSG_MMT_SUBFIELDS_MATCH = _("Both subfield values should be filled or
> empty.");
> 
> I think this message is only for regular fields in "from" and "to", so you
> don't move a entire field to a subfield for example.

I would not add complexity to the JS code, the message is correct even if it
could be more exact. You can provide a follow-up if you think it's really
needed, I personally think it's not that important.

> 2)
> This does not allow copy/move of a control field in the subfield of a
> regular field, ie 005 => 998$d.
> This should be allowed ?
> What is surely not allowed is : 005 => 998

Maybe, maybe not.
This limitation has been added by commit 1079f971e3bc "Raise an alert if
control field is used". Added on bug 11395 comment 36 without explanations. I
cannot remember why, maybe you can find it on the BibLibre bug tracker?
Anyway it's for another bug report.

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


More information about the Koha-bugs mailing list