Homec4science

BibDocFile: safer new bibdocfile model upgrade

Authored by Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch> on Apr 7 2014, 17:38.

Description

BibDocFile: safer new bibdocfile model upgrade

  • FIX Safer upgrade recipe for migrations from the old document storage model (used in v1.1) to the new document storage model (used in v1.2).
  • Uses the get() method instead of getitem() defaulting the return value to an empty dictionary in case of missing keys in more_info.

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>

Details

Event Timeline

Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch> committed R3600:86774125c284: BibDocFile: safer new bibdocfile model upgrade (authored by Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>).Mar 19 2015, 14:50