Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11205

Add upgrade task to fill in missing settings / convert relevant from config

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Hi Tim

      I think CRM_Core_BAO_Setting::updateSettingsFromMetaData();

      is ready to be included in upgrade scripts / setup.sh -

      The intent is that it can be run @ any time & it will sort out any missing settings - it compares set settings with all settings & fills in missing ones from config and / or defaults & unsets $config if not 'prefetch'.

      (multisites will have currently lots of missing settings as they have been a bit hit & miss - esp in 4.1 upgrade).

      Not sure where / how best to add it in...

      Eileen

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: