Open rafaelnajera opened 6 years ago
Actually, the problem is in the server. For some reason the sequence number of an element is not updated and this results in two elements with the same sequence number in the database. The order in which these two elements appear when returning list of elements for a page and column is unpredictable.
This may be caused by inconsistencies in older versions of the system. I created a checker/fixer for sequence numbers and will monitor if the database at some point becomes inconsistent again.
On Feb 8, only one sequence was wrong on a page with only 2 elements: marginal addition and main text. It may have to do with the marginal addition having a bad reference item (the mark item occurs after the reference), but I'm not sure.
View log at 2018-02-07 22:28:21, changes by Alex (id: 85530)
On Jul 31, 2018, only one sequence wrong, and including one addition, changed by Alex, 2018-07-18 (id: 85530), page id 11796
For example, this quillData:
Generates