[opencms-dev] Alkacon webform 1.3.1 - no upload

a.westermann at alkacon.com a.westermann at alkacon.com
Wed Jul 22 16:34:44 CEST 2009


Hi Sandrine,

this bug was fixed in CVS. You can check out and build the formgenerator 
version 1.3.2 and install it.

Kind Regards,
Achim.

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

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


Gute Kunden:

Achim Westermann

-------------------

Alkacon Software GmbH - The OpenCms Experts
Achim Westermann
An der Wachsfabrik 13
50996 Koeln, DE

Tel: +49 (0)2236 3826-12
Fax: +49 (0)2236 3826-20
Email: a.westermann at alkacon.com

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