Homec4science

bibrecord: keep singletons by default

Authored by Samuele Kaplun <Samuele.Kaplun@cern.ch> on Jun 17 2010, 14:16.

Description

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)

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jun 28 2010, 16:53
Parents
R3600:c8c9aea8639b: WebSubmit: title not required when creating PDF/A
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:7638cf66dd5e: bibrecord: keep singletons by default (authored by Samuele Kaplun <Samuele.Kaplun@cern.ch>).Jun 28 2010, 16:53