[opencms-dev] Alkacon webform 1.3.1 - no upload

a.westermann at alkacon.com a.westermann at alkacon.com
Wed Jul 22 16:06:35 CEST 2009


Hi Sandrine,

this is a bug. I verified this. Thanks for reporting. There will be a 
checkin to the public CVS. I'll get back to this, when I am done.


Kind Regards,
Achim.

-------------------
Achim Westermann

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org




Sandrine Prousteau wrote:
> 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".
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list