[Koha-bugs] [Bug 14098] Regression in Marc Modification Templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 5 15:58:03 CEST 2015


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

Gaetan Boisson <gaetan.boisson at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gaetan.boisson at biblibre.com

--- Comment #2 from Gaetan Boisson <gaetan.boisson at biblibre.com> ---
That seems quite tricky. We certainly should let the user decide, but it then
becomes quite complicated to take into account all the possibilities.

Copying the value to a new 952 subfield sounds like a good default to me, right
now i cannot think of a case where the result would be unclear/unexpected.

On the other hand copying to an existing field raises the question of what
happens when we have multiple such fields in the record.

I can think of quite a few options from the top of my head:
- Add the subfield to all of the existing fields
- Do nothing
- Add only to the first such field that exists (probably not a very interesting
option...)
- Add to the field matching this and this criteria on this other subfield
- Create a new field with a subfield having the given value (current behaviour)

In the end the process would be something like:

If the record has no such field already, choose between:
- Create the field with the subfield and the wanted value
- Do nothing

If the record has exactly one field of this type, choose between:
- Add the subfield to the existing field
- Create a new field with the subfield and the wanted value
- Do nothing

If the record has multiple fields of this type, choose between:
- Add the subfield to all the existing fields
- Create a new field with the subfield and the wanted value
- Add to the field matching this and this criteria on this other subfield
- Do nothing

Else:
- Timewarp

I feel like this is a bug, since existing templates are not working as they
were before. But it seems to me that this action is very unclear in itself and
probably deserves some enhancement to let users choose more clearly what will
happen.

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


More information about the Koha-bugs mailing list