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

WordReplacement - Uniqueness key should allow different cases and domains

    Details

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

      Description

      CiviCRM 4.4.0 introduced a new table, civicrm_word_replacements, and migrated content from a serialized blob into the new table. The table includes a uniqueness constraint which is overzealous. The rule should behave as follows:

      DISALLOW: Two rows:
      domain_id=1, find_word=Contacts, replace_word=People
      domain_id=1, find_word=Contacts, replace_word=Folks
      ALLOW: Two rows:
      domain_id=1, find_word=Contacts, replace_word=People
      domain_id=1, find_word=contacts, replace_word=people
      ALLOW: Two rows:
      domain_id=1, find_word=Contacts, replace_word=People
      domain_id=2, find_word=Contacts, replace_word=Folks

      Be sure to define schema properly in these scenarios:

      1. Fresh installation of 4.4.1
      2. Upgrade 4.3.x => 4.4.1
      3. Upgrade 4.4.0 => 4.4.1

      SEE ALSO: http://forum.civicrm.org/index.php/topic,30267.0.html

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h