Commit f3d288b
committed
Prevent errors because of faulty DB records
Previous versions introduced records with groupid=0 into the
ratingallocate_ch_gengroups table which caused problems with the
groups/choices synchronization/allocation feature. This fix deals with
the faulty records by deleting them and also handling them defensively
during record retrieval.
However, the root cause of these faulty records has not been fixed
extensively. This has to be investigated further.
Fixes: #330
References: #308, #316, #3301 parent 25cc001 commit f3d288b
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1550 | 1550 | | |
1551 | 1551 | | |
1552 | 1552 | | |
1553 | | - | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
1554 | 1566 | | |
1555 | 1567 | | |
1556 | 1568 | | |
| |||
1619 | 1631 | | |
1620 | 1632 | | |
1621 | 1633 | | |
1622 | | - | |
| 1634 | + | |
1623 | 1635 | | |
| 1636 | + | |
| 1637 | + | |
1624 | 1638 | | |
1625 | 1639 | | |
1626 | 1640 | | |
| |||
0 commit comments