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

triggerRebuild: rebuild columns after upgrade

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      the triggerRebuild function uses a static array to store the columns for tables so it can compare them with the log table. however, during the upgrade script, the triggerInfo function is hit before the upgrades are applied, which causes the static array to store the pre-upgrade schema for the tables. when it is rerun afterward, that statically stored schema may conflict with the post-upgrade schema, causing an error.

      we should add an option to force the columns to be reset when initiated during the upgrade process.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: