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

Custom Data Groups - Slashes or special characters should be transformed in custom data group names

    Details

    • Type: Task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None

      Description

      Current, if you use a slash or other special character in civicrm_custom_group.title - the name column is not populated (the record is saved with a NULL value in that column) and the transformation for <div id=...> and the showHide params fails and you wind up with javascript errors on pages where the custom data group is displayed.

      To recreate:

      • Admin CiviCRM >> Custom Data >> New Custom Data Group
      • Enter "Spouse / Family name" as the group title and save
      • Dump the saved row and you'll see that custom_group.name is NULL

        Attachments

          Activity

            People

            • Assignee:
              abhilasha Abhilasha Vasu
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: