http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12743
Gaetan Boisson <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Failed QA --- Comment #5 from Gaetan Boisson <[email protected]> --- Bug found after more testing: The fields of the form in acquisitions will create values in the marc record. If we have default values for the same fields in the ACQ framework, we will systematically have two marc tags created in the record. It is not a huge problem since very few fields are created by the form in acquisitions but would be better handled this way: If the marc tag doesn't exist (ie wasn't created by the acquisitions form), create it with the subfield and its default values. If the marc tag already exist, but the subfield doesn't, add the subfield with its default value to the existing tag If both marc tag and subfield already exists, do nothing. Of course one could argue that for repeatable fields, one should be able to chose where to create the subfield. But i don't see an easy way to do this, and since so few fields are concerned, i think we'd better just be careful when using this feature not to overlap too much with fields handled by the form. Here's anexample (with french unimarc) of the current behaviour to make things clearer: The document type field in the form will create a value in 099$t (bibliographic level itemtype.) The ACQ framework is set to put a default value of 1 in 099$z. Then the resulting record will look like this: 099 ## - Informations locales z 1 099 ## - Informations locales t [docupment type] the field 099 being not repeatable, this is not valid, additionally, if one then manually edits the record, the two 099 show up in the interface, and if a default value is set for 099$t, the new record will look like this (two document types): 099 ## - Informations locales t [document type default value] z 1 099 ## - Informations locales t [docupment type] If the ACQ framework has a default value for a subfield that is created by the acquisitions form, the marc tag will also be duplicated. Like this: 099 ## - Informations locales z 1 (value coming from the ACQ framework) 099 ## - Informations locales t (value coming from the ACQ framework) 099 ## - Informations locales t (value entered in the acquisitions form) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
