Ticket #209 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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:2 Changed 7 years ago by gerd

  • Status changed from new to assigned

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

comment:4 Changed 7 years ago by schst

  • Status changed from closed to reopened
  • Resolution fixed deleted

This has not been committed to the trunk.

comment:5 Changed 7 years ago by gerd

  • Status changed from reopened to closed
  • Resolution set to fixed

Commited fixes into trunk (Revision 355)

Note: See TracTickets for help on using tickets.