#126: BibRecord: empty fields are discarded
-----------------------+----------------------------------------------------
Reporter: jcaffaro | Owner: skaplun
Type: defect | Status: closed
Priority: blocker | Milestone: v1.0
Component: BibEdit | Version:
Resolution: fixed | Keywords: BibRecord
-----------------------+----------------------------------------------------
Changes (by Samuele Kaplun <Samuele.Kaplun@…>):
* status: in_merge => closed
* resolution: => fixed
Comment:
In [7638cf66dd5eba324655d899c502166501440865]:
{{{
#!CommitTicketReference repository=""
revision="7638cf66dd5eba324655d899c502166501440865"
bibrecord: keep singletons by default
* a recently introduced configuration variable
CFG_BIBRECORD_KEEP_SINGLETONS was set to False, thus enforcing removal
of singletons during MARCXML parsing (i.e. datafields without subfields
were not considered). This is behaviour was making bibupload -c not able
anymore to remove fields, and bibdocfile --fix-marc was not letting
updating the MARC when the latest document was removed.
* the default is now set to True and all the APIs of bibrecord have been
enhanced to make this behaviour configurable at runtime. (closes #126)
}}}
--
Ticket URL: </ticket/126#comment:3>
Invenio <http://invenio-software.org>