Skip to content

File Upload: Correctly instruct how to handle updates #600

Closed
@weaverryan

Description

@weaverryan

Currently, if you follow the file upload cookbook, you will not be adequately handling "updates" for two reasons:

  1. If you only modify the file property, then the doctrine update listeners are not triggered
  2. If you do change the uploaded file, the old file is not deleted

Related is this commit, whose caution can hopefully be removed at some point: 808da21. Also, see #564.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions