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

Word Replacements on 4.4? 255 character error with less than that?

    Details

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

      Description

      We have 5 word replacements. The longest is 162 characters, including spaces. Even the left and right side measures 210 including spaces combined.

      I'm confused why the function (or API) is counting 307 characters. (error below)

      [Error: Migrate custom word-replacements]

      CiviCRM_API3_Exception: "Value for replace_word is 307 characters - This field has a maxlength of 255 characters."

      #0 /var/www/upgrade.civicrm.devdrupal.org/htdocs/sites/all/modules/civicrm/CRM/Upgrade/Incremental/php/FourFour.php(544): civicrm_api3("word_replacement", "replace", (Array:2))

        Attachments

        1. drupal_word_rep.png
          14 kB
          Stoob
        2. repla.png
          9 kB
          Stoob
        3. repla2.png
          9 kB
          Stoob

          Activity

            People

            • Assignee:
              stoob Stoob
              Reporter:
              stoob Stoob
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: