Skip to content
Snippets Groups Projects
Commit d96541fa authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Bugfix event log uploads without file

Have seen issues with "column 'filename' cannot be null" warnings
in the logs recently.  Found the issue in the events API, but
it's not obvious why this started now.  Possibly the upgrade to
Django 1.11.18?  Could have been a MariaDB upgrade too, but haven't
checked the logs to see if that happened.
parent 260ebf5d
No related branches found
No related tags found
No related merge requests found
......@@ -780,7 +780,7 @@ class EventLogList(InheritPermissionsAPIView):
except:
uploadedFile = None
filename = None
filename = ""
file_version = None
if uploadedFile:
filename = uploadedFile.name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment