[Tickets #14743] Form_Type_File does not get saved on preserve()
noreply at bugs.horde.org
noreply at bugs.horde.org
Thu Nov 30 08:47:17 UTC 2017
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: https://bugs.horde.org/ticket/14743
------------------------------------------------------------------------------
Ticket | 14743
Erstellt Von | birnbacs at gmail.com
Zusammenfassung | Form_Type_File does not get saved on preserve()
Warteschlange | Horde Framework Packages
Typ | Bug
Status | Unconfirmed
Priorität | 1. Low
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
birnbacs at gmail.com (2017-11-30 08:47) hat geschrieben:
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] =>
)
birnbacs at gmail.com (2017-11-30 08:47) hat hochgeladen: filebug.php
https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=filebug.php&ticket=14743&fn=%2Ffilebug.php
More information about the bugs
mailing list