I located some more locations where the audit user and audit note parameters were not being passed to postgresql by the Tuba code. I modified a number of files to address the problem. There may be yet others, but I was unable to find them. Most of these relate to deleting entries. I also attempted to address a situation where the error arose during file upload.
Coverage increased (+0.1%) to 59.551% when pulling ecb3c53ee58f10fad4f385d22b54cb8101889c29 on MoreAuditFixes into aab491280d8c96a938247bb5d38c71b3d9ed96d8 on master.
I located some more locations where the audit user and audit note parameters were not being passed to postgresql by the Tuba code. I modified a number of files to address the problem. There may be yet others, but I was unable to find them. Most of these relate to deleting entries. I also attempted to address a situation where the error arose during file upload.