Issue #2481731 by larowlan: Cannot inject DBLog instances into forms - The database connection is not serializable