Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7.0
-
Component/s: Zend_File_Transfer
-
Labels:None
Description
If destination directory is not set, Zend_File should assume that the destination directory is the same one that is returned by PHP function sys_get_temp_dir().
This way is you use Rename Filter for moving the file to the final location after the upload you do not need to call setDestionation() on the element.
In case you are rendering a form with a file element that doesn't have destination set throws: "Warning: Exception caught by form: "file_element_name" not found by file transfer adapter"
This is exactly what this component already does.