6.0.0-beta5
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/18/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14743] Form_Type_File does not get saved on preserve()
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ . ,.__..__. [__)[__) \./ [__]| | | | \ | | ||__\
Comment
> I whish to process a series of forms in a minor variation to > https://wiki.horde.org/Doc/Dev/FormPackage. Form variables in a step > are saved in the $vars object to process the successive step. All > works well unless the variable is of type file. > > I included a demo script that illustrates the point. If FormStage1 > uses a variable of type integer everything works. However, if the > type is file the gathered information is an array and preserve() > fails: > > dumping vars object: > Array > ( > [f_file] => Array > ( > [name] => parsedFile-5.docx > [type] => > application/vnd.openxmlformats-officedocument.wordprocessingml.document > [tmp_name] => /tmp/phppIjQKh > [file] => /tmp/phppIjQKh > [error] => 0 > [size] => 35069 > ) > > [stage] => 2 > [f_bool] => > ) >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers