Issue 18027

Verbatim usage Oops error

Reporter: mdoering
Assignee: mdoering
Type: Bug
Summary: Verbatim usage Oops error
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2015-11-11 10:07:58.799
Updated: 2015-11-16 17:37:34.682
Resolved: 2015-11-16 17:37:34.658

Comment: http 500 in API call already:
Created: 2015-11-11 10:09:03.669
Updated: 2015-11-11 10:09:03.669

Created: 2015-11-11 11:56:38.864
Updated: 2015-11-11 11:56:38.864
This is a more serious problem than initially expected. The Kryo serialized verbatim data exists in different formats apparently as we did not pay attention to registered class order in the KryoFactory. The assigned integers need to be the same over time, either by keeping the registration order the same or by explicitly assigning a stable int.

As we have been indexing with different versions of the code the verbatim binary data exists in different formats and we need to **reindex all checklist data** in order to fix this properly!

Created: 2015-11-13 14:27:02.58
Updated: 2015-11-13 14:27:02.58
CLB modified to store JSON instead of kryo binary for the verbatim data. Kryo is limited to just intermediate processing now.
Sample JSON as stored:

{"extensions":{"":[],"":[],"":[{"":"herb,shrub,tree,vine","":"habit"}],"":[]},"":"Equisetopsida C. Aghard","":"73","":"2011-02-21T12:19-0500","":"accepted","":"Equisetopsida","":"Equisetopsida C. Aghard","":"Brouillet et al. 2010+. Equisetopsida C. Aghard in VASCAN, the Database of Vascular Plants of Canada. (consulted on 2015-09-24)","":"class","":"","":"","":"73","":"Chase, M.W. & J.L. Reveal. 2009. A phylogenetic classification of land plants to accompany APG III. Botanical Journal of the Linnaen Society 161 (2): 122-127.","":"C. Aghard"}

Created: 2015-11-13 14:28:42.913
Updated: 2015-11-13 14:28:42.913
A cli exposed tool created to migrate existing kryo data to json: