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