Wrong config filename after export

Created on 14 July 2025, 3 months ago

Hi everyone, I was trying this module but when I tried to import the configurations from another environment I got this error

In ConfigImportCommands.php line 290:
                                                                                                                                                                                    
  The import failed due to the following reasons:                                                                                                                                   
  Configuration <em class="placeholder">provider_deepl.settings</em> depends on the <em class="placeholder">provider_deepl</em> extension that will not be installed after import.  
                                                                                                                                                                                    

In ConfigImporter.php line 823:
                                                                                                                                                                                    
  There were errors validating the config synchronization.                                                                                                                          
  Configuration <em class="placeholder">provider_deepl.settings</em> depends on the <em class="placeholder">provider_deepl</em> extension that will not be installed after import.

I tested this again and on drush cex I noticed that the filename is wrong

$ drush cex
 [notice] Differences of the active config to the export directory:
+------------+----------------------------+-----------+
| Collection | Config                     | Operation |
+------------+----------------------------+-----------+
|            | ai.settings                | Create    |
|            | ai_provider_deepl.settings | Create    |
|            | ai_translate.settings      | Create    |
|            | provider_deepl.settings    | Create    |
|            | core.extension             | Update    |
+------------+----------------------------+-----------+


 The .yml files in your export directory (../config/sync) will be deleted and replaced with the active config. (yes/no) [yes]:
 > 

I fixed this by manually renaming the file from provider_deepl.settings.yml to ai_provider_deepl.settings.yml

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇹Italy ralkeon

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024