Closed mbollmann closed 7 years ago
Original comment by Marcel Bollmann (Bitbucket: mbollmann, GitHub: mbollmann):
Looking at the code, it seems to calculate the line count based on actual linebreaks, not on the dipl_breaks
attribute returned by the edit script, as it probably should. This looks like it's a bug.
However, this can't be a new bug then, since the code hasn't effectively changed since last year...
Originally reported by: fab-bar (Bitbucket: fab-bar, GitHub: fab-bar)
We noticed yesterday that splitting or merging tokens in the ReN-Corpus (by inserting "§" or "# " into the tokentext) does not work anymore.
CorA outputs the follwoing error message:
Ein interner Fehler ist aufgetreten (Code: 1211). SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'NULL' for column 'id' at row 1 INSERT INTO dipl (
id
,tok_id
,line_id
,utf
,trans
) VALUES (:diplid, :tokid, :lineid, :utf, :trans) ON DUPLICATE KEY UPDATEline_id
=VALUES(line_id),utf
=VALUES(utf),trans
=VALUES(trans)