Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

File upload handling with doctrine #2278

Closed
@groucho-zz

Description

@groucho-zz

Currently, to facilitate the file upload :

  • add $file attribute to entity Assert as file
  • add $path attribute to entity which stores the actual filename
    as advised
  • use lifecyclecallbacks to automate file upload handling.
    and since the callbacks do not work if only file is changed
  • add an updated field that is manually changed to make everything work.

All these amounts to 3 new attributes to facilitate the updating of
one field, which overall does not make practical sense.

Is there no way to use just one field for file handling
and by itself trigger the callbacks when it is changed ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp