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

Duplicate entries in civicrm_settings table cause unpredictable operation

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.2.1, 4.3.4
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      civicrm_settings table entries must be unique but the groupname/name index is set to allow duplicates (it should be defined as unique).

      Menu rebuild, which is ill behaved, will create multiple entries, only one having content and the rest having null as content, the menu display routine may chose the wrong one to display and display no menu.

      Likewise when directory and resource URLs are updated it will occasionally create a second entry, which causes the old values to be picked up.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tsabatini Anthony Sabatini
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: