View Issue Details

IDProjectCategoryView StatusLast Update
0007241OXID eShop (all versions)4. ------ eShop Core -------public2021-07-01 15:33
Reportermario_lorenz Assigned To 
Status resolvedResolutionfixed 
Product Version6.3.0 
Fixed in Version6.3.1 
Summary0007241: cli: apply-configuration fails with environment.yaml and modules without moduleSettings
DescriptionHere is discribed how Module configuration deployment works:

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) ...
... there is no check, if moduleSettings exists or not.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined



2021-05-20 14:36

administrator   ~0013444

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: