Hi everyone,

I found a bug and I do not how treat it.

I work with Drupal 7.43 / File_entity 2.x-dev / media 2.x-dev

How make the bug appear :
1) find a image already use
2) edit image filename/image
3) save image

-> in DataBase :
the filename are updated
the origname are unchanged

4) create new content
5) link image with "image" fieldtype and "media_browser" as widget
6) save content

-> in DataBase :
the filename are reverted

Someone else reproduice that ?

Thanks

DrDam

Comments

DrDam created an issue. See original summary.

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

Are you sure there's no other modules you're using, maybe File Field Paths? There is no origname field by default with File Entity nor core.

DrDam’s picture

Yes, You'r right,

It's File Field Paths which move the file and rewrite is filename during a file_move.

Sorry for that,

Thanks