Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3522

magnolia.properties entries are not trimmed

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 4.4.2
    • 4.4.1
    • core
    • None

      By mistake we've added following lines in our magnolia.properties since those needed modification while upgrading to 4.4.1:

      magnolia.cache.startdir=${magnolia.app.rootdir}/cache
      magnolia.repositories.home=${magnolia.app.rootdir}/repositories

      Theoretically those lines look ok but at the end they have a whitespace. It resulted in Magnolia creating such directories on next start and we ended up with 'repositories', 'repositories ', 'cache' and 'cache ' in our directory structure. This was probably a killer for our upgrade that happened just after this properties edition. So, it could be useful to trim such properties as those can potentially lead to data inconsistency between db and repositories for example.

        Acceptance criteria

              fgrilli Federico Grilli
              unibrew Ryszard Koźmik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD