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
Comment #1
andypostI 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 tofile_managed
tablethe 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
Comment #2
xjmComment #3
jhodgdonI 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?
Comment #4
klonos...I guess yes.
Comment #5
andypostAnother reason to store original file name is that drupal can change uploaded name for security reasons
Comment #6
lucaschain CreditAttribution: lucaschain commentedComment #7
andypostdata model changes is needed so 8.1, also needs upgrade path