Ticket #209 (closed defect: fixed)
maxsize-Attribute will cause error if set
| Reported by: | aw@… | Owned by: | gerd |
|---|---|---|---|
| Priority: | normal | Milestone: | v0.9.0 stable |
| Component: | patForms | Version: | 0.9.0b1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by schst) (diff)
If the maxsize-attribute is set in the attribute array, patForms will return this error:
pat-Notice: Unknown attribute [maxsize]
'testfile' => array(
'type' => 'File',
'attributes' => array(
'id' => 'testfile',
'required' => 'no',
'display' => 'yes',
'edit' => 'yes',
'title' => 'Angebot (PDF) *',
'label' => 'Datei',
'description' => 'Upload a file of your choice...',
'uploaddir' => './fileupload',
'overwrite' => 'yes',
'usesession' => 'yes',
'maxsize' => 20000,
'tempdir' => './filetmp',
'permissions' => '0666',
'replacename' => 'i/([^\.]*)\.([^\.]*)/'.$randomFileName.'.\2',
),
Change History
comment:1 Changed 7 years ago by schst
- Owner changed from argh to gerd
- Description modified (diff)
- Milestone changed from none to v0.9.0 stable
comment:3 Changed 7 years ago by gerd
- Status changed from assigned to closed
- Resolution set to fixed
Well, this feature was never implemented... Now it is...
Cheers gERD
Note: See
TracTickets for help on using
tickets.
