Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

provide a Soft-Mode #11

@alfredbez

Description

@alfredbez

Problem

Sometimes we have changes made in the OXID Backend which are overwritten via the config-import.

Idea

I think it would be very useful if we have some kind of a soft mode, which checks if the config changed since the last export.


There are several ways to do this:

a) Check OXTIMESTAMP field:

  • Save timestamp on export
    -> in yaml-files or in a db-table?
  • php oxid config:import checks if there are changes since the last timestamp

b) Compare exports

  • make an tmp-export
  • compare tmp-export to export

possible Module-options

Parameter Description
enableSoftMode enables the Soft-Mode and output warnings if config in configurations folder is outdated
logOverwrittenConfigs writes changed config values (diff) to yaml-file
dontOverwrite do not import if configurations folder is outdated (you need to update the configurations folder and do an import again

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions