Error when trying to use filebridge with form attachments


(Chris Mackay) #1

Matrix Version:6.24

Trying to utilise filebridge to store attachments submitted via a custom Squiz form.

When submitting, an error message appears.
“Fatal error: Uncaught exception ‘Exception’ with message: 'Unable to add new link #1234567, between “attachments” (#123456:attachments) and “Pdf File #111222” (#111222), due to database error: SQLSTATE[22001]: String data, right truncated: 7 ERROR: value too long for type character varying(15)”

Is this a limitation with the use of filebridge?

Form submissions are going into our database fine if we host the attachments within the CMS, however ideally we would like to keep all out of the CMS and return only via filebridge and DB connector.

Thank you.