Loading an image on a a!FileUploadField - ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00932: inconsistent datatypes: expected - got CLOB

Hi all,

I created a fileUploadField into a SAIL page on a site. This field works correctly if I load a document, not if I load a photo or an image. It works perfectly if I load a photo using the desktop browser, not with the mobile one (I upload the file using mobile camera and taking a picture). It loads the image for a long time, but the file is never saved.

What could the error be?

 
12:10:35,470 INFO [stdout] (Appian Timer - 1)
12:10:50,487 INFO [stdout] (Appian Timer - 1) 2017-10-16 12:10:50,487 [Appian Timer - 1] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00932: inconsistent datatypes: expected - got CLOB
12:10:50,487 INFO [stdout] (Appian Timer - 1)
12:11:05,506 INFO [stdout] (Appian Timer - 1) 2017-10-16 12:11:05,505 [Appian Timer - 1] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00932: inconsistent datatypes: expected - got CLOB
12:11:05,506 INFO [stdout] (Appian Timer - 1)
12:11:20,530 INFO [stdout] (Appian Timer - 1) 2017-10-16 12:11:20,530 [Appian Timer - 1] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00932: inconsistent datatypes: expected - got CLOB
12:11:20,530 INFO [stdout] (Appian Timer - 1)
12:11:35,546 INFO [stdout] (Appian Timer - 1) 2017-10-16 12:11:35,546 [Appian Timer - 1] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00932: inconsistent datatypes: expected - got CLOB
12:11:35,546 INFO [stdout] (Appian Timer - 1)
12:11:50,581 INFO [stdout] (Appian Timer - 1) 2017-10-16 12:11:50,581 [Appian Timer - 1] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00932: inconsistent datatypes: expected - got CLOB
12:11:50,581 INFO [stdout] (Appian Timer - 1)

This is the file upload field :


a!fileUploadField(

label:"Foto di uno scontrino del PdV",
instructions:"Scatta la foto di uno scontrino del PdV che certifichi la tua presenza all'interno del locale. Il campo è obbligatorio per terminare il modulo senza la firma del cliente.",
required:true,
target:cons!SURVEYFotoGNTNFolder,
documentName:"Scontrino GNTN - "&ri!zonaRice&" - "&ri!anno,
value:ri!foto,
saveInto:ri!foto,
validationGroup:"a",
requiredMessage:"Campo obbligatorio per terminare il modulo senza firma!")

ri!foto is a document type rule input.

Thanks

  Discussion posts and replies are publicly visible