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

Should not use samples for important configuration

    XMLWordPrintable

Details

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

    Description

      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?

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Jenkins

                    No builds found.