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

"is not of type String" when creating or editing group

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.2.4
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When creating or editing a group I get this error:
      is not of type String
      This happens when the group name is longer then 31 chars.
      In CRM/group/form/edit.php on line 349:
      $name = CRM_Utils_String::titleToVar( $title );

      titleToVar will return null causing CRM_Core_DAO::singleValueQuery to fail.

      This also happened when importing contacts from a csv.

      I also tried creating a group with a too long name on drupal.demo.civicrm.org and this works?

      thx

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              stijnbe Stijn Beauprez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: