It is not possible to add a out-of-the-box field for the Original Filename of the entity file field

Proposed resolution

Remaining tasks

User interface changes

The new field label will have to be named with the desired name

API changes

If form alter is going to be user, refer to!modules!system!form.api.php/funct...

Original report by andypost

Not sure we able to add a "original filename" field for file entity - this cold be a feature but Very useful in success D8MI so probably we need a follow-up here


andypost’s picture

Issue tags: +D8MI

I think this should be a task because D8 brings a lot of multilingual enhancements but file handling still not woking in some cases causing to use File (Field) Paths which simply adds origname column to file_managed table

the starter issue #1842718-10: Use new Transliteration functionality in core for machine names already has some starting code, but without changing schema it's no go

xjm’s picture

jhodgdon’s picture

Component: transliteration system » file system

I think this is not really a Transliteration issue, but a File Entity issue. I don't think anything needs to change in the Transliteration system for this to happen. It's about the File entity storing both the original and transliterated file name, right?

klonos’s picture

...I guess yes.

andypost’s picture

Another reason to store original file name is that drupal can change uploaded name for security reasons

lucaschain’s picture

andypost’s picture

Version: 8.0.x-dev » 8.1.x-dev

data model changes is needed so 8.1, also needs upgrade path

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.