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

Should not use samples for important configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.8
    • Labels:
      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

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    Bug DoR
                    DoD