Closed ErwinKomen closed 2 years ago
How do the desires above translate into actions in the importing process?
B.t.w: remember how the importing goes: go to the /admin/dictionary/info/
table, make sure all input files are correctly identified there (including the Deel/Sectie/Aflevering numbering), and then start importing via the '0' part.
The import process starts with view import_csv_start()
This then calls excel_to_fixture()
, which converts the Excel file(s) into a fixture file
standaardspelling
(that is, trefwoord_name
) is available
WgdProcessor
, method partToLine()
isLineOkay()
trefwoord_name
is one of the essential elements#
or some other checks: the whole entry is not taken up into the DBinwoordenboek
- that was already solved in issue #45 standaardspelling
: copy this from the previous entry under the following circumstances:
standaarspelling
is emptyF 103/2
excel_to_fixture()
that checks whether a trefwoord_name
is empty, and if so, it checks if all other conditions are met to actually take it over from the previous entry
The behaviour of importing data (afresh) should be adjusted to accommodate for the following desires of the researcher: