Bug #6209

Not uploading a file for a resource leads to an error

Added by Karsten Dambekalns almost 12 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
Property
Start date:
2010-01-25
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

Try creating a post without uploading a file and you'll get a nice exception:

#1259748358: A valid sha1 hash must be passed to this constructor.

The "uploaded file" has an error status of UPLOAD_ERR_NO_FILE, so this need to be checked and handled accordingly.

#1

Updated by Karsten Dambekalns almost 12 years ago

  • Status changed from New to Accepted
  • Assignee changed from Robert Lemke to Karsten Dambekalns
  • Target version set to 1.0 alpha 8
#2

Updated by Karsten Dambekalns almost 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3757.

Also available in: Atom PDF