Comment 11 for bug 1515929

Revision history for this message
Aaron Wells (u-aaronw) wrote :

There are currently two patches marked for this bug:

1. https://reviews.mahara.org/5722: Robert's earlier patch, which rewrites the usr_custom_layout insertion code to use ensure_record_exists in an attempt to use database transactions to avoid getting duplicate records. Unfortunately, this won't actually solve the problem, although it's still a good idea to merge it in because it's cleaner code.

2. https://reviews.mahara.org/5764: A new patch I just wrote, that makes our get_record() method print a warning when there are duplicate records, instead of crashing. This *should* resolve this problem.