Comment 2 for bug 765489

Revision history for this message
Rob Thornton (rob-t-telus) wrote :

Getting results from a new treeview store which have not been initialized will produce a NULL result. sql_insert_wordset () expects that ALL values passed to it are non-null, however, only the category and the first character set of each language should be required. Change line #140 in src/lib/sqlite.c to:

if (!cat || !n1 || !s1)

Then, if the above fails the returned result (merge pending which adds this feature) the editor should report a warning or write a log entry (or both) letting the user know that a row, or rows, could not be written.