Comment 1 for bug 1498659

Revision history for this message
Gavin Panella (allenap) wrote :

FWIW, deferToDatabase() ensures that the function it calls is wrapped in a transaction. However, _import_resources() explicitly manages its own transactions, and it breaks if it is called within a transaction. Unfortunately there was no test, no assertion, and no documentation stating this.