[opencms-dev] Alkacon webform 1.3.1 - no upload

Sandrine Prousteau s.prousteau at eurelis.com
Wed Jul 22 15:12:38 CEST 2009


Hi,
I'm trying to use the Alkacon module formgenerator 1.3.1 on OpenCms 7.5. I create a resource alkacon-webform, and inside, I choose Email & Database and add a File upload field. Then I click left on my resource and send a small text file with this form. And here comes a error (in french):

Erreur lors de la transmission des données du formulaire
Une erreur est survenue lors de la tentative d'envoi des données du formulaire. Veuillez réessayer ultérieurement.

In my module com.alkacon.opencms.formgenerator, I've put the parameter "uploadfolder=/candidates_upload/", the folder /candidates_upload/ exists in the root of my site.

In the log, I've got error:

22 juil. 2009 15:08:50,640 ERROR [s.formgenerator.CmsFormHandler: 922] An unexpected error occured.
java.lang.ClassCastException: org.apache.commons.fileupload.disk.DiskFileItem cannot be cast to org.apache.commons.fileupload.DefaultFileItem
	at com.alkacon.opencms.formgenerator.database.CmsFormDataAccess.writeFormData(CmsFormDataAccess.java:599)
	at com.alkacon.opencms.formgenerator.CmsFormHandler.sendDatabase(CmsFormHandler.java:1133)
	at com.alkacon.opencms.formgenerator.CmsFormHandler.sendData(CmsFormHandler.java:913)
	at org.apache.jsp.WEB_002dINF.jsp.online.system.modules.com_alkacon_opencms_formgenerator.pages.form_jsp._jspService(form_jsp.java:104)


When am I wrong? Please help!

PS: the sending of the email works when I select only "Email" and not "Email & Database".



More information about the opencms-dev mailing list