Problem/Motivation

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 https://api.drupal.org/api/drupal/core!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

Comments

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