Filename is modified

Created on 3 June 2020, over 4 years ago
Updated 12 March 2024, 9 months ago

Customer complained that their filenames were being changed to lowercase from being mixed-case when bulk uploading.

I find that this module explicitly changes the filename as uploaded, stripping out characters and switching to lower case.

Please could this be a configurable option, so we can preserve filenames where the name is important?

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom fonant

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom aesuk

    I found dropzonejs.settings.yaml in folder config/install/ and so I have set transliteration to false.

    but drush updb is not making any visible changes ("No pending updates.")

    I found a question on stack exchange about updating the config off a module this is what happens

     drush cim -y --partial --source=modules/contrib/dropzonejs/config/install/
    +------------+---------------------+-----------+
    | Collection | Config              | Operation |
    +------------+---------------------+-----------+
    |            | dropzonejs.settings | Create    |
    +------------+---------------------+-----------+
    
     // Import the listed configuration changes?: yes.                                                
    
     [error]  Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.
    Configuration <em class="placeholder">dropzonejs.settings</em> depends on the <em class="placeholder">dropzonejs</em> module that will not be installed after import. in Drupal\Core\Config\ConfigImporter->validate() (line 814 of /var/www/html/web/core/lib/Drupal/Core/Config/ConfigImporter.php). 
    
    In ConfigImportCommands.php line 324:
                                                                                                     
      The import failed due to the following reasons:                                                
      Configuration <em class="placeholder">dropzonejs.settings</em> depends on the <em class="plac  
      eholder">dropzonejs</em> module that will not be installed after import.                       
                                                                                 
  • πŸ‡ΊπŸ‡ΈUnited States codesmith San Francisco

    Here's the drush command to turn off the filename_transliteration:

    drush config:set dropzonejs.settings filename_transliteration false --input-format=yaml

  • Status changed to Fixed 10 months ago
  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    πŸ“Œ Use core file sanitization Needs review deprecates this setting and instead allows to rely on the Drupal core 10.2 file transliteration settings.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024