Uploaded image for project: 'Freeze'
  1. Freeze
  2. FREEZE-5

Should not use samples for important configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.8
    • 1.6.1
    • None

      Currently important bootstrap configuration is placed in https://git.magnolia-cms.com/projects/SERVICES/repos/freeze/browse/src/main/resources/mgnl-bootstrap-samples/freeze . This configuration overrides publishing-core config in order to prevent publication and unpublication from happening during freeze e.g. when a workitem was approved.

      This means that the above happens only when magnolia.bootstrap.samples=true in the magnolia properties. This is usually not the case in production setups, and also it creates confusion when some functionality is working depending on samples being bootstrapped or not (samples usually are for example content, not required configuration).

      Additionally, we'd like to modify this configuration, and now we need to distinguish in our ModuleVersionHandler whether samples are bootstrapped or not.

      These files should be placed in https://git.magnolia-cms.com/projects/SERVICES/repos/freeze/browse/src/main/resources/mgnl-bootstrap/freeze instead, just like the other config bootstrap there?

        Acceptance criteria

              awarinner Andrew Warinner
              jfrantzius Joerg von Frantzius
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD