- Issue created by @jorgik
- Merge request !15Issue #3507540: Mautic credentials configuration is not overriden → (Open) created by jorgik
The Mautic credentials configuration in the mautic_paragraph module is not being properly overridden by settings.php, despite being defined in the Platform token and deploy scaffold files. This prevents proper credential management across different environments and poses potential security risks by not respecting the environment-specific configuration override system.
1. Install and enable the mautic_paragraph module
2. Configure Mautic credentials in Platform token
3. Add the override configuration in settings.php using the following structure:
```php
$config['mautic_paragraph.settings'] = [
'url' => 'your-mautic-url',
'username' => 'your-username',
'password' => 'your-password',
];
```
4. Clear the cache
5. Observe that the module continues to use the original credentials instead of the overridden ones from settings.php
Implement proper configuration override handling in the module to ensure it respects the Drupal configuration override system. This may involve:
1. Reviewing the module's configuration management implementation
2. Ensuring proper use of the Configuration API
3. Adding appropriate configuration schema validation
4. Implementing proper configuration override handling in the module's service layer
1. Investigate why current configuration override is not working
2. Implement fix for configuration override system
3. Add tests to verify configuration override functionality
4. Update documentation to clearly describe configuration override capabilities
5. Review and test the solution across different environment setups
No UI changes are required. This is a backend configuration issue.
No API changes are required. The fix should work within existing Drupal configuration API standards.
No data model changes are required. This is a configuration handling issue that should be resolved within the existing configuration system.
Active
1.1
Code