View Issue Details

IDProjectCategoryView StatusLast Update
0007614OXID eShop (all versions)2.3. Extensions (modules, themes)public2024-04-10 15:03
ReporterSimonGassenschmidt Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Summary0007614: Module Configuration Deployment not working like in older version anymore.
DescriptionThis issue is connected to this feature:
https://docs.oxid-esales.com/developer/en/latest/development/modules_components_themes/project/module_configuration/modules_configuration_deployment.html

It let you configure the module settings and configuration in var/configration/enviroment/ - folder and corresponding *.yml.

In older version, eg. 6.5 you could also configure properties outside the moduleSettings-Block.
Now you can only configure those values.

So you cannot overwrite the activated status per enviroment-yaml.
In 6.5 you could overwrite the corresponding old variable configurated in those enviroment - yaml.
Steps To ReproduceInstall Shop,
create path yaml according to above documentation,
install module deployment-tools as described.

first only change moduleSettings in enviroment-yaml of your chosen module,
it should work in OXID 7.

try to change activated and run module-console command: it doesn't work.
TagsDocumentation
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

QA

2024-03-12 08:52

administrator   ~0016396

Last edited: 2024-03-12 09:55

reproduced.

1. Install EE 6.5
2. goto admin, have a look at the VCMS module
3. Version 3.6.1 and settings -> frontend -> use own grid is deactivated.
4. create /var/www/oxideshop/var/configuration/environment/1.yaml
5. copy paste:
modules:
  ddoevisualcms:
    version: 1.0.0
    moduleSettings:
      blCustomGridFramework:
        group: frontend
        type: bool
        value: true
6. Look again at the module information in the administration area. Version is 1.0.0 now and the setting is activated.
7. Install EE 7.0
8. goto admin, have a look at the VCMS module
9. Version 4.0.2 and settings -> frontend -> use own grid is deactivated.
10. create /var/www/oxideshop/var/configuration/environment/shops/1/modules/ddoevisualcms.yaml
11. copy paste:
version: 1.0.0
moduleSettings:
  blCustomGridFramework:
    group: frontend
    type: bool
    value: true
12. Look again at the module information in the administration area. Version hasn't changed, since anything but moduleSettings is ignored now.

It's not clear which behaviour is correct. That from 6.5 or 7.0.

It's misleading that the module setting overwritting functionality is on the same page as the how-to-deploy-module-configuration aka Deploying module configuration best-practise: https://docs.oxid-esales.com/developer/en/latest/development/modules_components_themes/project/module_configuration/modules_configuration_deployment.html
The Deploying module configuration best practise is of course using parameters like "id" and "activated, but can easily get mistaken with the actual module settings (like blDisableBootstrap for VCMS module). Idea. Split the linked page into two pages: Override Module Settings With Environment Files and Deploy Module Configuration

-MK