Homec4science

jsonalchemy: hotfix for optional fields

Authored by Guillaume Lastecoueres <PX9e@gmx.fr> on Apr 24 2014, 16:27.

Description

jsonalchemy: hotfix for optional fields

  • Fixes an unexpected behaviour which happen when a field in the conversion sheet is not present in the marcxml (e.g. email). When marcxml is transformed to dict everything is fine, but when it is converted back to marcxml, it will get into an infinite loop because the field is not present in the dict. Hence it will try to eval the field and it will end in an infinite import loop.

Signed-off-by: Guillaume Lastecoueres <guillaume.lastecoueres@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>

Details

Committed
kuncarJun 16 2014, 18:39
Parents
R3600:4b9c77fea8ae: assets: requirejs and uglifyjs
Branches
Unknown
Tags
Unknown

Event Timeline

Jiri Kuncar <jiri.kuncar@cern.ch> committed R3600:dfc418bc4dc5: jsonalchemy: hotfix for optional fields (authored by Guillaume Lastecoueres <PX9e@gmx.fr>).Jun 16 2014, 18:39