
File Upload warning (Front-End)
Reported by Andrei Zharau | August 16th, 2010 @ 05:44 PM
What steps will reproduce the problem?
- Create new content model with Document type field
- Create a new publication Entry Create Form for this content
model
- Add the publication to a page
- Save and go to that page.
- Submit publication form with any file from your drive
What is the expected output? What do you see instead?
File should be uploaded into folder specified in Website configuration settings; however, it won't upload because of missing enctype="multipart/form-data" attribute.
Firebug throws Form contains a file input, but is missing method=POST and enctype=multipart/form-data on the form. The file will not be sent.
Additional information
The issue was fixed in first Webiva versions (there was a typo
in the code that checked for document fields in the
publication so the enctype=multipart wasn't getting added in
correctly), but seems to appear again.
Comments and changes to this ticket
-
Pascal Rettig August 18th, 2010 @ 07:31 PM
- State changed from new to resolved
(from [981a55b78e8c2b54518dc3516add1eeb1e8e32e0]) Fix multipart form setting [#79 state:resolved] http://github.com/cykod/Webiva/commit/981a55b78e8c2b54518dc3516add1...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
-
79 File Upload warning (Front-End) (from [981a55b78e8c2b54518dc3516add1eeb1e8e32e0]) Fix mul...