The FileUploadModel of app-fileservices looks in the
request for files to upload according to this:
if(oneKey.indexOf("_file_data_") > 0){
However, the current StrutsClientConnector no longer
assigns that "file_data" key to file type request
parameters. Its been commented out. The
StrutsClientConnector is now only wrapping the
parameters in the BinaryWrapper.
This is resulting in being unable to using the
FileUploadExample.
Logged In: YES
user_id=490856
You might want to consider using the following in your JSP
until I get this addresses (and it might be part of the
solution)
<Input type="FILE" name="fieldName_file_data_filename" where
fieldName is the name of the JSP Field, and filename is the
file name you want to store the uploaded file as.
Other parameters include, but may not be limited to;
uploadDir
sub_dir (could be an array)
sub_dir_fields (could be an array)
max_file_size_filter (NOT fully implemented yet!)
I REALLY need to document this stuff, as well as file
FileUploadExample.
Regards,
Steve
Logged In: YES
user_id=490856
Greetings.
Can somebody assign this bug to me?
In the meantime, I have checked in the first draft of the
doc-book documentation into
keel-doc/src/doc/manual/chapters/applications/app-fileservices/app.xml.
-Steve
Logged In: YES
user_id=490856
Greetings.
Ok, actually got the app cleaned up enough to duplicate this
issue in a controlled. Will be tackling it this week. Need
to do some more digging first, as there may be several
issues. (When last I was dealing with this app, there was
also a build/deploy issue. Changes/fixes have since been
applied to the build system that may have fixed the earlier
issue). I want to fix all issues that can cause this bug,
so this may take me a couple of days. Will post here when
complete.
-Steve