View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007241 | OXID eShop (all versions) | 4. ------ eShop Core ------- | public | 2021-05-19 17:34 | 2021-07-01 15:33 |
| Reporter | mario_lorenz | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 6.3.0 | ||||
| Fixed in Version | 6.3.1 | ||||
| Summary | 0007241: cli: apply-configuration fails with environment.yaml and modules without moduleSettings | ||||
| Description | Here is discribed how Module configuration deployment works: https://docs.oxid-esales.com/developer/en/6.3/development/modules_components_themes/project/module_configuration/modules_configuration_deployment.html I´ve a OXID-Module without moduleSettings. In the configuration (\var\configuration\shops\1.yaml), the module has no data for moduleSettings. And also no empty moduleSettings. I copied the module-Section into \var\configuration\environment\1.yml, change something (no extension of the moduleSettings). After this i run: apply-configuration I´ve got an breakable error because in the script (line 51 etc) ... \vendor\oxid-esales\oxideshop-ce\source\Internal\Framework\Module\Configuration\Dao\ShopEnvironmentConfigurationExtender.php ... there is no check, if moduleSettings exists or not. | ||||
| Tags | No tags attached. | ||||
| Theme | Not defined | ||||
| Browser | Not defined | ||||
| PHP Version | Not defined | ||||
| Database Version | Not defined | ||||
|
|
Hi mario_lorenz, I have reproduced this behavior. I see two solutions here: Either adapting the documentation to declare the key "moduleSettings" as mandatory or adding a check if the key is set or not: https://github.com/OXID-eSales/oxideshop_ce/pull/868 Greetings! Michael -MK |